mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-10 16:48:43 +00:00
avcodec/h264_sei: ff_h264_decode_sei: dont try to parse trailing zeroes
reduces noise for tserrors.ts Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
aaeae281a8
commit
688a40b4ed
@ -281,7 +281,7 @@ static int decode_display_orientation(H264Context *h)
|
|||||||
|
|
||||||
int ff_h264_decode_sei(H264Context *h)
|
int ff_h264_decode_sei(H264Context *h)
|
||||||
{
|
{
|
||||||
while (get_bits_left(&h->gb) > 16) {
|
while (get_bits_left(&h->gb) > 16 && show_bits(&h->gb, 16)) {
|
||||||
int type = 0;
|
int type = 0;
|
||||||
unsigned size = 0;
|
unsigned size = 0;
|
||||||
unsigned next;
|
unsigned next;
|
||||||
|
Loading…
Reference in New Issue
Block a user