Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-02-19 05:24:52 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-02-19 05:25:02 +0400
commitd0e236292d2448850ed2bb269d6847682e761084 (patch)
tree45b93ed790f5a47d24580bab7cd2381976603fa0 /libavcodec/h264.c
parent2d93f76f8ab6d34fbd21970550f0d87064f76161 (diff)
parentfea6db064b00822af488db93f0f8b19f25cae515 (diff)
Merge remote-tracking branch 'qatar/master'
* qatar/master: h264: informative error reporting in decode_slice_header() Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index a47919acb1..b9b82c8825 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -3596,8 +3596,12 @@ static int decode_slice_header(H264Context *h, H264Context *h0)
must_reinit ||
needs_reinit)) {
if (h != h0) {
- av_log(h->avctx, AV_LOG_ERROR, "changing width/height on "
- "slice %d\n", h0->current_slice + 1);
+ av_log(h->avctx, AV_LOG_ERROR,
+ "changing width %d -> %d / height %d -> %d on "
+ "slice %d\n",
+ h->width, h->avctx->coded_width,
+ h->height, h->avctx->coded_height,
+ h0->current_slice + 1);
return AVERROR_INVALIDDATA;
}