On 6/19/2020 4:01 AM, ManojGuptaBonda wrote:
> Initialize avctx->pix_fmt in av1_parser.c
> AV1 Chroma format is invalid when quering using below code:
> iVideoStream = av_find_best_stream(fmtc, AVMEDIA_TYPE_VIDEO, -1, -1, >
> NULL, 0);
> eChromaFormat = (AVPixelFormat)fmtc->streams[iVideoStream]->c
Initialize avctx->pix_fmt in av1_parser.c
AV1 Chroma format is invalid when quering using below code:
iVideoStream = av_find_best_stream(fmtc, AVMEDIA_TYPE_VIDEO, -1, -1, >
NULL, 0);
eChromaFormat = (AVPixelFormat)fmtc->streams[iVideoStream]->codecpar->
>format;
---
libavcodec/av1_parser.c | 1 +