Browse Source

h264: Discard currently unsupported registered sei

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
tags/n2.8
John Högberg Luca Barbato 9 years ago
parent
commit
f9ab4fe1f7
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      libavcodec/h264_sei.c

+ 6
- 0
libavcodec/h264_sei.c View File

@@ -169,6 +169,12 @@ static int decode_registered_user_data_closed_caption(H264Context *h, int size)
skip_bits(&h->gb, 8); // marker_bits
}
}
} else {
int i;
avpriv_request_sample("Subtitles with data type 0x%02x",
user_data_type_code);
for (i = 0; i < size - 1; i++)
skip_bits(&h->gb, 8);
}

return 0;


Loading…
Cancel
Save