[vlc-commits] codec: mpeg_audio: fix pts update
Tristan Matthews
git at videolan.org
Sat Nov 8 19:25:47 CET 2014
vlc | branch: master | Tristan Matthews <tmatth at videolan.org> | Sat Nov 8 13:04:10 2014 -0500| [72b03859fd8b715d9baeb5b378170d81517b01e8] | committer: Tristan Matthews
codec: mpeg_audio: fix pts update
Fixes #12722
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=72b03859fd8b715d9baeb5b378170d81517b01e8
---
modules/codec/mpeg_audio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/codec/mpeg_audio.c b/modules/codec/mpeg_audio.c
index c9f7bac..f893dd2 100644
--- a/modules/codec/mpeg_audio.c
+++ b/modules/codec/mpeg_audio.c
@@ -248,7 +248,7 @@ static block_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
/* New frame, set the Presentation Time Stamp */
p_sys->i_pts = p_sys->bytestream.p_block->i_pts;
if( p_sys->i_pts > VLC_TS_INVALID &&
- p_sys->i_pts != date_Get( &p_sys->end_date ) )
+ p_sys->i_pts > date_Get( &p_sys->end_date ) )
{
date_Set( &p_sys->end_date, p_sys->i_pts );
}
More information about the vlc-commits
mailing list