diff mbox series

[FFmpeg-devel,3/4] aformat/rawvideodec: don't force the rawvideo decoder for uyvy422 bitpacked streams

Message ID 20230506173759.7793-3-jamrial@gmail.com
State New
Headers show
Series [FFmpeg-devel,1/4] avcodec/bitpacked_enc: add support for uyvy422 encoding | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

James Almer May 6, 2023, 5:37 p.m. UTC
The bitpacked decoder can handle it.

Signed-off-by: James Almer <jamrial@gmail.com>
---
 libavformat/rawvideodec.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/libavformat/rawvideodec.c b/libavformat/rawvideodec.c
index 514e4e044f..d58e54ce24 100644
--- a/libavformat/rawvideodec.c
+++ b/libavformat/rawvideodec.c
@@ -88,7 +88,6 @@  static int rawvideo_read_header(AVFormatContext *ctx)
             tag = MKTAG('U', 'Y', 'V', 'Y');
             pgroup = 4;
             xinc   = 2;
-            st->codecpar->codec_id = AV_CODEC_ID_RAWVIDEO;
         } else {
             av_log(ctx, AV_LOG_ERROR, "unsupported format: %s for bitpacked.\n",
                     s->pixel_format);