1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-05-26 13:58:49 +00:00

[media] Spot-fix for ffvpx handling of bad video data.

This commit is contained in:
Moonchild
2026-04-26 12:00:21 +02:00
committed by roytam1
parent 85e32b8238
commit a7a5092b23
+3 -1
View File
@@ -207,8 +207,10 @@ static int update_size(AVCodecContext *avctx, int w, int h)
*fmtp = AV_PIX_FMT_NONE;
ret = ff_thread_get_format(avctx, pix_fmts);
if (ret < 0)
if (ret < 0) {
ff_set_dimensions(avctx, s->w, s->h);
return ret;
}
avctx->pix_fmt = ret;
s->gf_fmt = s->pix_fmt;