mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-11-02 13:24:20 +08:00
Do not assign codec_tag to pix_fmt in rawdec.c, but in raw.c
Originally committed as revision 21218 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -74,8 +74,6 @@ static av_cold int raw_init_decoder(AVCodecContext *avctx)
|
||||
|
||||
if (avctx->codec_tag == MKTAG('r','a','w',' '))
|
||||
avctx->pix_fmt = findPixelFormat(pixelFormatBpsMOV, avctx->bits_per_coded_sample);
|
||||
else if (avctx->codec_tag == MKTAG('A', 'V', 'R', 'n'))
|
||||
avctx->pix_fmt = PIX_FMT_UYVY422; // Avid AVI Codec "Resolution 1:1"
|
||||
else if (avctx->codec_tag)
|
||||
avctx->pix_fmt = findPixelFormat(ff_raw_pixelFormatTags, avctx->codec_tag);
|
||||
else if (avctx->bits_per_coded_sample)
|
||||
|
||||
Reference in New Issue
Block a user