aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/x86/pixelutils_init.c
diff options
context:
space:
mode:
authorManoj Bonda <mbonda@nvidia.com>2020-06-19 12:31:22 +0530
committerJames Almer <jamrial@gmail.com>2020-07-02 22:26:39 -0300
commit797574400d531503ff46009784c0b97c0091733a (patch)
treedc3e1bc11ab9c74e76f7dc938cbab4601cecc2b5 /libavutil/x86/pixelutils_init.c
parentb303fe926ef153b01de3f1ae6bba8fbb0b7190bf (diff)
downloadffmpeg-797574400d531503ff46009784c0b97c0091733a.tar.gz
avcodec/av1_parser: initialize avctx->pix_fmt
Initialize avctx->pix_fmt in av1_parser.c AV1 Chroma format is invalid when quering using below code if no AV1 decoder is available: iVideoStream = av_find_best_stream(fmtc, AVMEDIA_TYPE_VIDEO, -1, -1, NULL, 0); eChromaFormat = (AVPixelFormat)fmtc->streams[iVideoStream]->codecpar->format; Signed-off-by: James Almer <jamrial@gmail.com> (cherry picked from commit 23d06f606e58779d47ca9d312c570b8e64f99f9e)
Diffstat (limited to 'libavutil/x86/pixelutils_init.c')
0 files changed, 0 insertions, 0 deletions