diff options
author | Clément Bœsch <u@pkh.me> | 2017-03-19 17:56:19 +0300 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2017-03-19 17:56:19 +0300 |
commit | b6e88bf323bb2b23f5f1e29547aa61fa2c1e2e2c (patch) | |
tree | f584195a92429e08d336a6597c22bfc98c0ea90a /libavcodec/h264_refs.c | |
parent | 842e7853c73d09f8e262d379b5bc1479098655d8 (diff) | |
parent | b96f0ab3d29cdd9ea9ddabfb2052f72bf8615661 (diff) |
Merge commit 'b96f0ab3d29cdd9ea9ddabfb2052f72bf8615661'
* commit 'b96f0ab3d29cdd9ea9ddabfb2052f72bf8615661':
h264: Kill broken disabled cruft
Merged-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'libavcodec/h264_refs.c')
-rw-r--r-- | libavcodec/h264_refs.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c index ad296753c3..af70829594 100644 --- a/libavcodec/h264_refs.c +++ b/libavcodec/h264_refs.c @@ -846,15 +846,6 @@ int ff_h264_decode_ref_pic_marking(H264SliceContext *sl, GetBitContext *gb, mmco[i].short_pic_num = (sl->curr_pic_num - get_ue_golomb_long(gb) - 1) & (sl->max_pic_num - 1); -#if 0 - if (mmco[i].short_pic_num >= h->short_ref_count || - !h->short_ref[mmco[i].short_pic_num]) { - av_log(s->avctx, AV_LOG_ERROR, - "illegal short ref in memory management control " - "operation %d\n", mmco); - return -1; - } -#endif } if (opcode == MMCO_SHORT2LONG || opcode == MMCO_LONG2UNUSED || opcode == MMCO_LONG || opcode == MMCO_SET_MAX_LONG) { |