summaryrefslogtreecommitdiff
path: root/libavcodec/dnxhddata.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-11-09 15:24:06 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-11-19 20:26:39 +0100
commit6a3df0dfa938e104c31576a9508c9a2cc8488f68 (patch)
tree395fb33e495d097d49904cc459dca0db8850b804 /libavcodec/dnxhddata.c
parent4586de94a70a6becc075d59ff7e6374eeabdf65c (diff)
downloadffmpeg-6a3df0dfa938e104c31576a9508c9a2cc8488f68.tar.gz
avcodec/dnxhddata: Remove avpriv_dnxhd_get_interlaced()
It is unused. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/dnxhddata.c')
-rw-r--r--libavcodec/dnxhddata.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libavcodec/dnxhddata.c b/libavcodec/dnxhddata.c
index 3a69a0f501..e3b260f328 100644
--- a/libavcodec/dnxhddata.c
+++ b/libavcodec/dnxhddata.c
@@ -1105,14 +1105,6 @@ int avpriv_dnxhd_get_hr_frame_size(int cid, int w, int h)
return FFMAX(result, 8192);
}
-int avpriv_dnxhd_get_interlaced(int cid)
-{
- const CIDEntry *entry = ff_dnxhd_get_cid_table(cid);
- if (!entry)
- return -1;
- return entry->flags & DNXHD_INTERLACED ? 1 : 0;
-}
-
static int dnxhd_find_hr_cid(AVCodecContext *avctx)
{
switch (avctx->profile) {