[FFmpeg-devel] [PATCH 7/7] avcodec/bitpacked: Add codec_tags list

Michael Niedermayer michael at niedermayer.cc
Fri Feb 7 15:48:31 EET 2020


This should improve coverage

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
 libavcodec/bitpacked.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavcodec/bitpacked.c b/libavcodec/bitpacked.c
index f0b417d595..be7d1e3629 100644
--- a/libavcodec/bitpacked.c
+++ b/libavcodec/bitpacked.c
@@ -146,4 +146,8 @@ AVCodec ff_bitpacked_decoder = {
     .init = bitpacked_init_decoder,
     .decode = bitpacked_decode,
     .capabilities = AV_CODEC_CAP_EXPERIMENTAL,
+    .codec_tags     = (const uint32_t []){
+        MKTAG('U', 'Y', 'V', 'Y')
+        FF_CODEC_TAGS_END,
+    },
 };
-- 
2.17.1



More information about the ffmpeg-devel mailing list