[FFmpeg-devel] [PATCH 1/2] avcodec/leaddec: support format 0x6

Peter Ross pross at xvid.org
Thu Dec 5 03:43:58 EET 2024


Fixes ticket #10657.
---
 libavcodec/leaddec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/leaddec.c b/libavcodec/leaddec.c
index 2f5152c226..88387902ca 100644
--- a/libavcodec/leaddec.c
+++ b/libavcodec/leaddec.c
@@ -157,6 +157,7 @@ static int lead_decode_frame(AVCodecContext *avctx, AVFrame * frame,
         zero = 1;
         avctx->pix_fmt = AV_PIX_FMT_YUV420P;
         break;
+    case 0x6:
     case 0x8000:
         yuv20p_half = 1;
         // fall-through
-- 
2.45.2

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20241205/212aad59/attachment.sig>


More information about the ffmpeg-devel mailing list