mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
vp9: re-initialize internal buffers on bpp change also.
This commit is contained in:
parent
6210a64822
commit
2563a33856
@ -4319,7 +4319,8 @@ static int vp9_decode_update_thread_context(AVCodecContext *dst, const AVCodecCo
|
||||
|
||||
// detect size changes in other threads
|
||||
if (s->intra_pred_data[0] &&
|
||||
(!ssrc->intra_pred_data[0] || s->cols != ssrc->cols || s->rows != ssrc->rows)) {
|
||||
(!ssrc->intra_pred_data[0] || s->cols != ssrc->cols ||
|
||||
s->rows != ssrc->rows || s->bpp != ssrc->bpp)) {
|
||||
free_buffers(s);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user