Skip to content

Commit

Permalink
Merge commit 'f9ab4fe1f7c1e9d410ca5ee2c9ff8d2892aad068'
Browse files Browse the repository at this point in the history
* commit 'f9ab4fe1f7c1e9d410ca5ee2c9ff8d2892aad068':
  h264: Discard currently unsupported registered sei

Merged-by: Hendrik Leppkes <[email protected]>
  • Loading branch information
Nevcairiel committed Aug 24, 2015
2 parents 59cae19 + f9ab4fe commit a4c13f9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libavcodec/h264_sei.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,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(h->avctx, "Subtitles with data type 0x%02x",
user_data_type_code);
for (i = 0; i < size - 1; i++)
skip_bits(&h->gb, 8);
}

return 0;
Expand Down

0 comments on commit a4c13f9

Please sign in to comment.