diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-04-15 15:00:29 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-06-12 20:27:52 +0200 |
commit | 7b50d60442af8d9527e9da46818011fe15a5265a (patch) | |
tree | 2e6f63e7260f8dec2918756e938ee02fc74b85bf /libavcodec/h264_slice.c | |
parent | b16e9b9ac9db449cae2242767dd3c3fc309357c4 (diff) | |
download | ffmpeg-streaming-7b50d60442af8d9527e9da46818011fe15a5265a.zip ffmpeg-streaming-7b50d60442af8d9527e9da46818011fe15a5265a.tar.gz |
h264: call ff_h264_fill_mbaff_ref_list() when constructing the normal ref list
There is no real reason to call it separately.
Diffstat (limited to 'libavcodec/h264_slice.c')
-rw-r--r-- | libavcodec/h264_slice.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c index aefb375..33f9f57 100644 --- a/libavcodec/h264_slice.c +++ b/libavcodec/h264_slice.c @@ -1379,8 +1379,6 @@ static int h264_slice_header_parse(H264Context *h, H264SliceContext *sl) } if (FRAME_MBAFF(h)) { - ff_h264_fill_mbaff_ref_list(sl); - if (pps->weighted_bipred_idc == 2 && sl->slice_type_nos == AV_PICTURE_TYPE_B) { implicit_weight_table(h, sl, 0); implicit_weight_table(h, sl, 1); |