[vlc-commits] libmpeg2: setup pictures with VLC_TICK_INVALID explicitly
Steve Lhomme
git at videolan.org
Wed Sep 19 11:58:21 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed May 9 14:12:08 2018 +0200| [0ca76d08fbcd12e6347406642f8cae2afc27fed9] | committer: Steve Lhomme
libmpeg2: setup pictures with VLC_TICK_INVALID explicitly
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0ca76d08fbcd12e6347406642f8cae2afc27fed9
---
modules/codec/libmpeg2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/codec/libmpeg2.c b/modules/codec/libmpeg2.c
index 6d72a0ad36..6794207514 100644
--- a/modules/codec/libmpeg2.c
+++ b/modules/codec/libmpeg2.c
@@ -861,7 +861,7 @@ static picture_t *DpbNewPicture( decoder_t *p_dec )
p->b_linked = true;
p->b_displayed = false;
- p->p_picture->date = 0;
+ p->p_picture->date = VLC_TICK_INVALID;
}
return p->p_picture;
}
More information about the vlc-commits
mailing list