[FFmpeg-cvslog] h264: print mismatching opcode details in check_opcodes()
Michael Niedermayer
git at videolan.org
Mon Jan 21 23:25:53 CET 2013
ffmpeg | branch: release/1.0 | Michael Niedermayer <michaelni at gmx.at> | Sun Jan 20 20:01:39 2013 +0100| [75aa373bec58dd65cca6006a04c89c03d935ec83] | committer: Michael Niedermayer
h264: print mismatching opcode details in check_opcodes()
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit dcbe15813ed09cf491e75a21cce0e751f5bc2b34)
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=75aa373bec58dd65cca6006a04c89c03d935ec83
---
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 9e9f9e6..d5b9633 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