summaryrefslogtreecommitdiff
path: root/libavcodec/h264_refs.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-06-13 18:14:41 +0200
committerDiego Biurrun <diego@biurrun.de>2016-06-14 11:14:06 +0200
commit84b2d3fb68caf71cff4b80b44ff865d7ae2531ce (patch)
treef77b8e5f2ba8a63fab55845eaec66d140d10a810 /libavcodec/h264_refs.c
parent05a4bacbf7ece618553d339afe1d0b57bc87aea8 (diff)
downloadffmpeg-84b2d3fb68caf71cff4b80b44ff865d7ae2531ce.tar.gz
h264: Drop unused function check_opcodes()
Diffstat (limited to 'libavcodec/h264_refs.c')
-rw-r--r--libavcodec/h264_refs.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c
index c4b33afb15..2e43a8f4e5 100644
--- a/libavcodec/h264_refs.c
+++ b/libavcodec/h264_refs.c
@@ -524,18 +524,6 @@ void ff_h264_remove_all_refs(H264Context *h)
h->short_ref_count = 0;
}
-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)
- return -1;
- }
-
- return 0;
-}
-
static void generate_sliding_window_mmcos(H264Context *h)
{
MMCO *mmco = h->mmco;