[FFmpeg-cvslog] h264: Drop unused function check_opcodes()

Diego Biurrun git at videolan.org
Sat Jul 9 14:45:40 CEST 2016


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Mon Jun 13 18:14:41 2016 +0200| [84b2d3fb68caf71cff4b80b44ff865d7ae2531ce] | committer: Diego Biurrun

h264: Drop unused function check_opcodes()

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=84b2d3fb68caf71cff4b80b44ff865d7ae2531ce
---

 libavcodec/h264_refs.c |   12 ------------
 1 file changed, 12 deletions(-)

diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c
index c4b33af..2e43a8f 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;



More information about the ffmpeg-cvslog mailing list