mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
Merge commit '84b2d3fb68caf71cff4b80b44ff865d7ae2531ce'
* commit '84b2d3fb68caf71cff4b80b44ff865d7ae2531ce': h264: Drop unused function check_opcodes() Merged-by: Clément Bœsch <u@pkh.me>
This commit is contained in:
commit
a7ce5b25c0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user