mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
Merge remote-tracking branch 'qatar/master'
* qatar/master: h264: informative error reporting in decode_slice_header() Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
d0e236292d
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user