mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/dnxhddata: remove dead code
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
006546c635
commit
1b6e52c68f
|
@ -1100,13 +1100,6 @@ int avpriv_dnxhd_get_interlaced(int cid)
|
||||||
return ff_dnxhd_cid_table[i].flags & DNXHD_INTERLACED ? 1 : 0;
|
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)
|
static int dnxhd_find_hr_cid(AVCodecContext *avctx)
|
||||||
{
|
{
|
||||||
switch (avctx->profile) {
|
switch (avctx->profile) {
|
||||||
|
|
|
@ -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_frame_size(int cid);
|
||||||
int avpriv_dnxhd_get_interlaced(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 */
|
#endif /* AVCODEC_DNXHDDATA_H */
|
||||||
|
|
Loading…
Reference in New Issue