Commit 3e7e6c28 authored by François Cartegnie's avatar François Cartegnie 🤞

codec: faad: reset date on error

parent 662b0e8e
......@@ -410,6 +410,7 @@ static int DecodeBlock( decoder_t *p_dec, block_t *p_block )
msg_Warn( p_dec, "invalid channels count: %i", frame.channels );
FlushBuffer( p_sys, frame.bytesconsumed );
date_Set( &p_sys->date, VLC_TS_INVALID );
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment