]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/dnxhddata: remove dead code
authorJames Almer <jamrial@gmail.com>
Sat, 11 Nov 2017 04:41:16 +0000 (01:41 -0300)
committerJames Almer <jamrial@gmail.com>
Sat, 11 Nov 2017 04:41:16 +0000 (01:41 -0300)
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/dnxhddata.c
libavcodec/dnxhddata.h

index e995449d6342e9c38974be209f4455c480d12507..d7d3331b4f8ad002ab2d931a66e6af2806e7625c 100644 (file)
@@ -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) {
index 6de2c0918ec7b5581cbd9f2cdbee1c63948f5679..f80ce18f3c43db0da51ff599fb6610128df41320 100644 (file)
@@ -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 */