[vlc-commits] Revert "packetizer: mpegvideo: don't output slice on sequence extension"
Francois Cartegnie
git at videolan.org
Thu Apr 12 10:46:02 CEST 2018
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Apr 12 10:33:16 2018 +0200| [844c30c9b4c3ba9ba415941a1d801f340a55aa53] | committer: Francois Cartegnie
Revert "packetizer: mpegvideo: don't output slice on sequence extension"
This reverts commit 0efc936bca3381c4e2405d3652f0c56fb661bb68.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=844c30c9b4c3ba9ba415941a1d801f340a55aa53
---
modules/packetizer/mpegvideo.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/modules/packetizer/mpegvideo.c b/modules/packetizer/mpegvideo.c
index 2a4ede4530..457913777f 100644
--- a/modules/packetizer/mpegvideo.c
+++ b/modules/packetizer/mpegvideo.c
@@ -439,8 +439,7 @@ static block_t *ParseMPEGBlock( decoder_t *p_dec, block_t *p_frag )
}
else if( p_sys->b_frame_slice &&
- (startcode == PICTURE_STARTCODE ||
- (startcode > SLICE_STARTCODE_LAST && startcode != EXTENSION_STARTCODE )) )
+ (startcode == PICTURE_STARTCODE || startcode > SLICE_STARTCODE_LAST) )
{
const bool b_eos = startcode == SEQUENCE_END_STARTCODE;
More information about the vlc-commits
mailing list