diff options
author | Clément Bœsch <u@pkh.me> | 2016-07-09 14:45:12 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2016-07-09 14:45:12 +0200 |
commit | a7ce5b25c03abef6f3a2349b76343904513c46b3 (patch) | |
tree | ea4b7bed58e0253f2054decc9577f5b5b0f1d99b /libavcodec/h264_refs.c | |
parent | 415072605b38fb2d3756b8dfd396716c35f05fec (diff) | |
parent | 84b2d3fb68caf71cff4b80b44ff865d7ae2531ce (diff) |
Merge commit '84b2d3fb68caf71cff4b80b44ff865d7ae2531ce'
* commit '84b2d3fb68caf71cff4b80b44ff865d7ae2531ce':
h264: Drop unused function check_opcodes()
Merged-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'libavcodec/h264_refs.c')
-rw-r--r-- | libavcodec/h264_refs.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c index 5905276e83..444849ae11 100644 --- a/libavcodec/h264_refs.c +++ b/libavcodec/h264_refs.c @@ -586,21 +586,6 @@ void ff_h264_remove_all_refs(H264Context *h) } } -static int check_opcodes(MMCO *mmco1, MMCO *mmco2, int n_mmcos) -{ - int i; - - for (i = 0; i < n_mmcos; i++) { - if (mmco1[i].opcode != mmco2[i].opcode) { - av_log(NULL, AV_LOG_ERROR, "MMCO opcode [%d, %d] at %d mismatches between slices\n", - mmco1[i].opcode, mmco2[i].opcode, i); - return -1; - } - } - - return 0; -} - static void generate_sliding_window_mmcos(H264Context *h) { MMCO *mmco = h->mmco; |