summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2018-07-23 12:32:47 -0300
committerJames Almer <jamrial@gmail.com>2018-08-02 12:41:05 -0300
commite45ed15594a2553056a577177591fbe55694af44 (patch)
tree08bfaf62cd4f342ae2754a2274d6ed697a6f7db1 /libavcodec
parentb98bd60bfa2605fd874d42f96804d1c999278a7e (diff)
downloadffmpeg-e45ed15594a2553056a577177591fbe55694af44.tar.gz
avcodec/libaomdec: auto insert dump_extra bitstream filter
Some containers, like Matroska, may propagate key frames with no Sequence Header OBU since it's provided in extradata instead. With this change, the Sequence Header will be appended to the packet data before calling aom_codec_decode(). Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/libaomdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/libaomdec.c b/libavcodec/libaomdec.c
index 6a2de6d47a..ddfba8a023 100644
--- a/libavcodec/libaomdec.c
+++ b/libavcodec/libaomdec.c
@@ -232,4 +232,5 @@ AVCodec ff_libaom_av1_decoder = {
.capabilities = AV_CODEC_CAP_AUTO_THREADS | AV_CODEC_CAP_DR1,
.profiles = NULL_IF_CONFIG_SMALL(ff_av1_profiles),
.wrapper_name = "libaom",
+ .bsfs = "dump_extra",
};