Browse Source

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>
(cherry picked from commit 688a40b4ed)
tags/n2.4.4
Michael Niedermayer Carl Eugen Hoyos 11 years ago
parent
commit
a5cc8775cf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/h264_sei.c

+ 1
- 1
libavcodec/h264_sei.c View File

@@ -281,7 +281,7 @@ static int decode_display_orientation(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;
unsigned size = 0;
unsigned next;


Loading…
Cancel
Save