Browse Source

h264: print mismatching opcode details in check_opcodes()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.2
Michael Niedermayer 12 years ago
parent
commit
dcbe15813e
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      libavcodec/h264_refs.c

+ 4
- 1
libavcodec/h264_refs.c View File

@@ -485,8 +485,11 @@ static int check_opcodes(MMCO *mmco1, MMCO *mmco2, int n_mmcos)
int i; int i;


for (i = 0; i < n_mmcos; i++) { for (i = 0; i < n_mmcos; i++) {
if (mmco1[i].opcode != mmco2[i].opcode)
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 -1;
}
} }


return 0; return 0;


Loading…
Cancel
Save