diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-12-29 23:22:05 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-01-22 23:50:49 +0300 |
commit | 550a6b4212ca98ccee2d633abaf408d42a3d6187 (patch) | |
tree | 149d2edc1555664b8b2dcbb55b9afa91f3802326 /libavcodec/avcodec.h | |
parent | d48e510124d0fea24e2ec27271687c92e4428a18 (diff) |
avcodec/avcodec: Add codec_tags array to AVCodec
This allows the fuzzer to target meaningfull codec tags instead
of hunting the 4gb space, which it seems to have problems with.
Suggested-by: James
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 4b0e7c0853..774ed1e641 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -3644,6 +3644,11 @@ typedef struct AVCodec { * The user can only access this field via avcodec_get_hw_config(). */ const struct AVCodecHWConfigInternal **hw_configs; + + /** + * List of supported codec_tags, terminated by FF_CODEC_TAGS_END. + */ + const uint32_t *codec_tags; } AVCodec; #if FF_API_CODEC_GET_SET |