diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-01-22 22:47:27 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-01-26 13:56:59 +0100 |
commit | 10d059bb24eb88157e071a3db102ddd8f4937a00 (patch) | |
tree | 4e7e64f3cb8c97c7b96bec39fecdc30b2f155dfe /libavcodec/dnxhddata.h | |
parent | 37f76c81d6669033c315354a7d30ef6e605414ae (diff) | |
download | ffmpeg-10d059bb24eb88157e071a3db102ddd8f4937a00.tar.gz |
avcodec/dnxhd: Make ff_dxnhd_get_cid_table return a pointer, not index
All callers only use the index into ff_dnxhd_cid_table to get a pointer
to the desired entry.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/dnxhddata.h')
-rw-r--r-- | libavcodec/dnxhddata.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/dnxhddata.h b/libavcodec/dnxhddata.h index cfa6b0c99d..898079cffc 100644 --- a/libavcodec/dnxhddata.h +++ b/libavcodec/dnxhddata.h @@ -58,9 +58,7 @@ typedef struct CIDEntry { AVRational packet_scale; } CIDEntry; -extern const CIDEntry ff_dnxhd_cid_table[]; - -int ff_dnxhd_get_cid_table(int cid); +const CIDEntry *ff_dnxhd_get_cid_table(int cid); int ff_dnxhd_find_cid(AVCodecContext *avctx, int bit_depth); void ff_dnxhd_print_profiles(AVCodecContext *avctx, int loglevel); |