The bitpacked decoder can handle it.

Signed-off-by: James Almer <[email protected]>
---
 libavformat/rawvideodec.c | 1 -
 1 file changed, 1 deletion(-)

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);
-- 
2.40.1

_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to