[FFmpeg-devel] [PATCH 2/3] avcodec/hapdec: Add codec_tags list
Michael Niedermayer
michael at niedermayer.cc
Mon Dec 30 01:38:18 EET 2019
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
libavcodec/hapdec.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/libavcodec/hapdec.c b/libavcodec/hapdec.c
index 8c845770cf..7759f1da3e 100644
--- a/libavcodec/hapdec.c
+++ b/libavcodec/hapdec.c
@@ -484,4 +484,12 @@ AVCodec ff_hap_decoder = {
AV_CODEC_CAP_DR1,
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE |
FF_CODEC_CAP_INIT_CLEANUP,
+ .codec_tags = (const uint32_t []){
+ MKTAG('H','a','p','1'),
+ MKTAG('H','a','p','5'),
+ MKTAG('H','a','p','Y'),
+ MKTAG('H','a','p','A'),
+ MKTAG('H','a','p','M'),
+ CODEC_TAGS_END,
+ },
};
--
2.24.0
More information about the ffmpeg-devel
mailing list