Commit a7ce5b25 authored by Clément Bœsch's avatar Clément Bœsch

Merge commit '84b2d3fb'

* commit '84b2d3fb':
  h264: Drop unused function check_opcodes()
Merged-by: 's avatarClément Bœsch <u@pkh.me>
parents 41507260 84b2d3fb
...@@ -586,21 +586,6 @@ void ff_h264_remove_all_refs(H264Context *h) ...@@ -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) static void generate_sliding_window_mmcos(H264Context *h)
{ {
MMCO *mmco = h->mmco; MMCO *mmco = h->mmco;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment