]> git.sesse.net Git - ffmpeg/commit
avcodec/av1dec: fix setting pix_fmt
authorJames Almer <jamrial@gmail.com>
Sat, 12 Sep 2020 20:39:45 +0000 (17:39 -0300)
committerJames Almer <jamrial@gmail.com>
Sat, 12 Sep 2020 20:39:45 +0000 (17:39 -0300)
commite46f34e85bf2306894fcaf7e3693dac7c29bc1d6
tree2f747d1e168c2dfd7e9ca3b79355a985fd023b00
parent9c6026bc72905d40b6628fdbecba35bb1aceb8ce
avcodec/av1dec: fix setting pix_fmt

Fill the array with the software pix_fmt and move the avctx->hwaccel
check back to the proper place.
Also remove the avoid probing flag to ensure an external av1 decoder
will not set a pix_fmt we don't want during format probing.

Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/av1dec.c