diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-08-10 02:09:13 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-08-10 02:09:13 +0200 |
commit | a71fcfad892c4c59a011556f70b998aca1139b37 (patch) | |
tree | af961a49102589bc3e8ca8ea93d969428f1e05de | |
parent | 329832d779e2c9f2a2aa97c90b6e3eb1aadb8ee8 (diff) | |
parent | 9325d88eba8038b3e2a4485e473a018410379e2d (diff) | |
download | ffmpeg-a71fcfad892c4c59a011556f70b998aca1139b37.tar.gz |
Merge commit '9325d88eba8038b3e2a4485e473a018410379e2d'
* commit '9325d88eba8038b3e2a4485e473a018410379e2d':
lavc: remove obsolete and disabled avpriv functions
Conflicts:
libavcodec/dv_profile.c
libavcodec/dv_profile.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/adx.c | 8 | ||||
-rw-r--r-- | libavcodec/adx.h | 5 | ||||
-rw-r--r-- | libavcodec/dv_profile.c | 15 | ||||
-rw-r--r-- | libavcodec/dv_profile.h | 5 | ||||
-rw-r--r-- | libavcodec/flac.c | 8 | ||||
-rw-r--r-- | libavcodec/flac.h | 5 |
6 files changed, 0 insertions, 46 deletions
diff --git a/libavcodec/adx.c b/libavcodec/adx.c index 9c5bedc234..cd88b16660 100644 --- a/libavcodec/adx.c +++ b/libavcodec/adx.c @@ -80,11 +80,3 @@ int ff_adx_decode_header(AVCodecContext *avctx, const uint8_t *buf, *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 diff --git a/libavcodec/adx.h b/libavcodec/adx.h index ca59a2dcca..08f749a046 100644 --- a/libavcodec/adx.h +++ b/libavcodec/adx.h @@ -77,9 +77,4 @@ void ff_adx_calculate_coeffs(int cutoff, int sample_rate, int bits, int *coeff); 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 */ diff --git a/libavcodec/dv_profile.c b/libavcodec/dv_profile.c index 58ce79f269..79212b9765 100644 --- a/libavcodec/dv_profile.c +++ b/libavcodec/dv_profile.c @@ -328,18 +328,3 @@ const AVDVProfile *av_dv_codec_profile(int width, int height, 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) -{ - if (codec->coded_width || codec->coded_height) { - return av_dv_codec_profile(codec->coded_width, codec->coded_height, codec->pix_fmt); - } else - return av_dv_codec_profile(codec->width, codec->height, codec->pix_fmt); -} -#endif diff --git a/libavcodec/dv_profile.h b/libavcodec/dv_profile.h index a2ef608b57..34a1a3c645 100644 --- a/libavcodec/dv_profile.h +++ b/libavcodec/dv_profile.h @@ -59,11 +59,6 @@ typedef struct AVDVProfile { const AVDVProfile* avpriv_dv_frame_profile2(AVCodecContext* codec, const AVDVProfile *sys, const uint8_t* frame, unsigned buf_size); -#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. diff --git a/libavcodec/flac.c b/libavcodec/flac.c index aeb276bcdc..1053491340 100644 --- a/libavcodec/flac.c +++ b/libavcodec/flac.c @@ -235,11 +235,3 @@ void avpriv_flac_parse_streaminfo(AVCodecContext *avctx, struct FLACStreaminfo * 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 diff --git a/libavcodec/flac.h b/libavcodec/flac.h index b4f28cfcbd..d85195fff0 100644 --- a/libavcodec/flac.h +++ b/libavcodec/flac.h @@ -110,11 +110,6 @@ int avpriv_flac_is_extradata_valid(AVCodecContext *avctx, 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 |