aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-11-11 01:41:16 -0300
committerJames Almer <jamrial@gmail.com>2017-11-11 01:41:16 -0300
commit1b6e52c68fd0ce24f0e5dbafe93146c7793c677b (patch)
treeda6a72186ad975a33fc5783af3a970016ecbecc0 /libavcodec
parent006546c635f05444cd7dd241f9e65bef346771bd (diff)
downloadffmpeg-1b6e52c68fd0ce24f0e5dbafe93146c7793c677b.tar.gz
avcodec/dnxhddata: remove dead code
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dnxhddata.c7
-rw-r--r--libavcodec/dnxhddata.h5
2 files changed, 1 insertions, 11 deletions
diff --git a/libavcodec/dnxhddata.c b/libavcodec/dnxhddata.c
index e995449d63..d7d3331b4f 100644
--- a/libavcodec/dnxhddata.c
+++ b/libavcodec/dnxhddata.c
@@ -1100,13 +1100,6 @@ int avpriv_dnxhd_get_interlaced(int cid)
return ff_dnxhd_cid_table[i].flags & DNXHD_INTERLACED ? 1 : 0;
}
-#if LIBAVCODEC_VERSION_MAJOR < 58
-uint64_t avpriv_dnxhd_parse_header_prefix(const uint8_t *buf)
-{
- return ff_dnxhd_parse_header_prefix(buf);
-}
-#endif
-
static int dnxhd_find_hr_cid(AVCodecContext *avctx)
{
switch (avctx->profile) {
diff --git a/libavcodec/dnxhddata.h b/libavcodec/dnxhddata.h
index 6de2c0918e..f80ce18f3c 100644
--- a/libavcodec/dnxhddata.h
+++ b/libavcodec/dnxhddata.h
@@ -105,8 +105,5 @@ static av_always_inline int ff_dnxhd_get_hr_frame_size(int cid, int w, int h)
int avpriv_dnxhd_get_frame_size(int cid);
int avpriv_dnxhd_get_interlaced(int cid);
-#if LIBAVCODEC_VERSION_MAJOR < 58
-attribute_deprecated
-uint64_t avpriv_dnxhd_parse_header_prefix(const uint8_t *buf);
-#endif
+
#endif /* AVCODEC_DNXHDDATA_H */