diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2016-05-17 14:38:08 +0100 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2016-05-17 14:38:14 +0100 |
commit | 7ab2c036b917ad3ecaf245601aeba4316b6604c2 (patch) | |
tree | bf9f13cd33e67286a6bc9654a494d5af8ee1a14c /libavcodec/h264.c | |
parent | 15ad0232107496c3b12d8aaedfc3398b8cda9ee7 (diff) | |
parent | e9f884416c76558098fc1f63825b293956e8483c (diff) |
Merge commit 'e9f884416c76558098fc1f63825b293956e8483c'
* commit 'e9f884416c76558098fc1f63825b293956e8483c':
h264: move reading direct_spatial_mv_pred out of ff_set_ref_count()
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 2a522fd3ed..3e29e881c5 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -1010,8 +1010,6 @@ int ff_set_ref_count(H264Context *h, H264SliceContext *sl) unsigned max[2]; max[0] = max[1] = h->picture_structure == PICT_FRAME ? 15 : 31; - if (sl->slice_type_nos == AV_PICTURE_TYPE_B) - sl->direct_spatial_mv_pred = get_bits1(&sl->gb); num_ref_idx_active_override_flag = get_bits1(&sl->gb); if (num_ref_idx_active_override_flag) { |