mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-13 21:26:33 +02:00
Merge commit 'c80a816142699dea9cf9fa66689a7838a487ed7e'
* commit 'c80a816142699dea9cf9fa66689a7838a487ed7e': h263dec: call get_format() on resolution changes Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
b9918a7688
@ -548,6 +548,12 @@ retry:
|
|||||||
|
|
||||||
if ((ret = ff_mpv_common_frame_size_change(s)))
|
if ((ret = ff_mpv_common_frame_size_change(s)))
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
|
if (avctx->pix_fmt != h263_get_format(avctx)) {
|
||||||
|
av_log(avctx, AV_LOG_ERROR, "format change not supported\n");
|
||||||
|
avctx->pix_fmt = AV_PIX_FMT_NONE;
|
||||||
|
return AVERROR_UNKNOWN;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (s->codec_id == AV_CODEC_ID_H263 ||
|
if (s->codec_id == AV_CODEC_ID_H263 ||
|
||||||
|
Loading…
x
Reference in New Issue
Block a user