[FFmpeg-cvslog] h264: print mismatching opcode details in check_opcodes()
Michael Niedermayer
git at videolan.org
Sun Jan 20 20:19:15 CET 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Jan 20 20:01:39 2013 +0100| [dcbe15813ed09cf491e75a21cce0e751f5bc2b34] | committer: Michael Niedermayer
h264: print mismatching opcode details in check_opcodes()
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dcbe15813ed09cf491e75a21cce0e751f5bc2b34
---
libavcodec/h264_refs.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c
index 812272c..68004f8 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;
More information about the ffmpeg-cvslog
mailing list