mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/dnxhddata: Remove avpriv_dnxhd_get_interlaced()
It is unused. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
4586de94a7
commit
6a3df0dfa9
|
@ -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) {
|
||||
|
|
|
@ -90,6 +90,5 @@ static av_always_inline uint64_t ff_dnxhd_parse_header_prefix(const uint8_t *buf
|
|||
|
||||
int avpriv_dnxhd_get_frame_size(int cid);
|
||||
int avpriv_dnxhd_get_hr_frame_size(int cid, int w, int h);
|
||||
int avpriv_dnxhd_get_interlaced(int cid);
|
||||
|
||||
#endif /* AVCODEC_DNXHDDATA_H */
|
||||
|
|
Loading…
Reference in New Issue