[vlc-commits] codec: faad: reset date on error
Francois Cartegnie
git at videolan.org
Thu Feb 23 20:51:27 CET 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Feb 23 19:12:16 2017 +0100| [3e7e6c28fc430d2d188caecbac89af4ee92864cd] | committer: Francois Cartegnie
codec: faad: reset date on error
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3e7e6c28fc430d2d188caecbac89af4ee92864cd
---
modules/codec/faad.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/codec/faad.c b/modules/codec/faad.c
index c68c501..64a1a73 100644
--- a/modules/codec/faad.c
+++ b/modules/codec/faad.c
@@ -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 );
return VLCDEC_SUCCESS;
}
More information about the vlc-commits
mailing list