[vlc-commits] Revert "codec: mpeg_audio: fix pts update"
Jean-Baptiste Kempf
git at videolan.org
Fri Apr 10 20:50:15 CEST 2015
vlc/vlc-2.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Apr 10 20:50:11 2015 +0200| [9898114f19ab1ff60e9d78c4f551335eed4e2ee0] | committer: Jean-Baptiste Kempf
Revert "codec: mpeg_audio: fix pts update"
This reverts commit 330c495ac660e1851324a959a3146032f66e8c70.
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=9898114f19ab1ff60e9d78c4f551335eed4e2ee0
---
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 f893dd2..c9f7bac 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