*header_size = offset;
return 0;
}
-
-#if LIBAVCODEC_VERSION_MAJOR < 56
-int avpriv_adx_decode_header(AVCodecContext *avctx, const uint8_t *buf,
- int bufsize, int *header_size, int *coeff)
-{
- return ff_adx_decode_header(avctx, buf, bufsize, header_size, coeff);
-}
-#endif
int ff_adx_decode_header(AVCodecContext *avctx, const uint8_t *buf,
int bufsize, int *header_size, int *coeff);
-#if LIBAVCODEC_VERSION_MAJOR < 56
-int avpriv_adx_decode_header(AVCodecContext *avctx, const uint8_t *buf,
- int bufsize, int *header_size, int *coeff);
-#endif
-
#endif /* AVCODEC_ADX_H */
return NULL;
}
-
-#if LIBAVCODEC_VERSION_MAJOR < 56
-const AVDVProfile *avpriv_dv_frame_profile(const AVDVProfile *sys,
- const uint8_t* frame, unsigned buf_size)
-{
- return av_dv_frame_profile(sys, frame, buf_size);
-}
-
-const AVDVProfile *avpriv_dv_codec_profile(AVCodecContext *codec)
-{
- return av_dv_codec_profile(codec->width, codec->height, codec->pix_fmt);
-}
-#endif
const uint8_t (*audio_shuffle)[9]; /* PCM shuffling table */
} AVDVProfile;
-#if LIBAVCODEC_VERSION_MAJOR < 56
-const AVDVProfile *avpriv_dv_frame_profile(const AVDVProfile *sys,
- const uint8_t* frame, unsigned buf_size);
-const AVDVProfile *avpriv_dv_codec_profile(AVCodecContext* codec);
-#endif
-
/**
* Get a DV profile for the provided compressed frame.
*
skip_bits_long(&gb, 64); /* md5 sum */
skip_bits_long(&gb, 64); /* md5 sum */
}
-
-#if LIBAVCODEC_VERSION_MAJOR < 56
-void avpriv_flac_parse_block_header(const uint8_t *block_header,
- int *last, int *type, int *size)
-{
- flac_parse_block_header(block_header, last, type, size);
-}
-#endif
enum FLACExtradataFormat *format,
uint8_t **streaminfo_start);
-#if LIBAVCODEC_VERSION_MAJOR < 56
-void avpriv_flac_parse_block_header(const uint8_t *block_header,
- int *last, int *type, int *size);
-#endif
-
/**
* Calculate an estimate for the maximum frame size based on verbatim mode.
* @param blocksize block size, in samples