]> git.sesse.net Git - ffmpeg/commitdiff
h264: Drop unused function check_opcodes()
authorDiego Biurrun <diego@biurrun.de>
Mon, 13 Jun 2016 16:14:41 +0000 (18:14 +0200)
committerDiego Biurrun <diego@biurrun.de>
Tue, 14 Jun 2016 09:14:06 +0000 (11:14 +0200)
libavcodec/h264_refs.c

index c4b33afb15b920705881d00a30c77683e2777730..2e43a8f4e543c2c8fe2336685e17155839c54062 100644 (file)
@@ -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;