diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-03-22 13:31:21 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-04-24 10:06:24 +0200 |
commit | 728d90a0c1973661a9e73da697bf4f90c9d19577 (patch) | |
tree | b779fb0b411780ff68ac21e5de31265f4d194409 /libavcodec/h264_slice.c | |
parent | c8dcff0cdb17d0aa03ac729eba12d1a20f1f59c8 (diff) |
h264: decouple h264_sei from the h264 decoder
Make the SEI parsing independent of the H264Context, to allow
decoupling the parser from the decoder.
Diffstat (limited to 'libavcodec/h264_slice.c')
-rw-r--r-- | libavcodec/h264_slice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c index 82a5a82851..5cbfee122c 100644 --- a/libavcodec/h264_slice.c +++ b/libavcodec/h264_slice.c @@ -826,7 +826,7 @@ static int h264_slice_header_init(H264Context *h) if (sps->timing_info_present_flag) { int64_t den = sps->time_scale; - if (h->x264_build < 44U) + if (h->sei.unregistered.x264_build < 44U) den *= 2; av_reduce(&h->avctx->framerate.den, &h->avctx->framerate.num, sps->num_units_in_tick, den, 1 << 30); |