diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-01-20 20:01:39 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-01-20 20:01:39 +0100 |
commit | dcbe15813ed09cf491e75a21cce0e751f5bc2b34 (patch) | |
tree | 6091de1aeed5693f4368c25496e8e52a1dc9472f | |
parent | fc86f88b32a288b252a088ee3c77b4f6219d54d5 (diff) | |
download | ffmpeg-dcbe15813ed09cf491e75a21cce0e751f5bc2b34.tar.gz |
h264: print mismatching opcode details in check_opcodes()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/h264_refs.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c index 812272cfa5..68004f85b0 100644 --- a/libavcodec/h264_refs.c +++ b/libavcodec/h264_refs.c @@ -485,8 +485,11 @@ 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) + 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; |