summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2014-08-06 19:07:59 -0300
committerMichael Niedermayer <michaelni@gmx.at>2014-08-07 00:44:07 +0200
commit8dfb8190d768f5ea5924f06a59fffa9fa5f8308b (patch)
treed9676900ade584b152fd136df65bc64a917af3f3 /libavcodec
parent6a44699746501332207d967e27297cc6cfa987dd (diff)
libavcodec/rawdec: remove old ff_find_pix_fmt() function
It's been dead code for more than a year Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/libavcodec.v1
-rw-r--r--libavcodec/raw.h4
-rw-r--r--libavcodec/rawdec.c7
3 files changed, 1 insertions, 11 deletions
diff --git a/libavcodec/libavcodec.v b/libavcodec/libavcodec.v
index b4bd2c88ed..76e29f2a9e 100644
--- a/libavcodec/libavcodec.v
+++ b/libavcodec/libavcodec.v
@@ -3,7 +3,6 @@ LIBAVCODEC_$MAJOR {
#deprecated, remove after next bump
audio_resample;
audio_resample_close;
- ff_find_pix_fmt;
ff_framenum_to_drop_timecode;
ff_framenum_to_smtpe_timecode;
ff_raw_pix_fmt_tags;
diff --git a/libavcodec/raw.h b/libavcodec/raw.h
index a4179930a3..18128259ec 100644
--- a/libavcodec/raw.h
+++ b/libavcodec/raw.h
@@ -36,9 +36,7 @@ typedef struct PixelFormatTag {
} PixelFormatTag;
extern av_export const PixelFormatTag ff_raw_pix_fmt_tags[];
-#if LIBAVCODEC_VERSION_MAJOR < 55
-enum AVPixelFormat ff_find_pix_fmt(const PixelFormatTag *tags, unsigned int fourcc);
-#endif
+
enum AVPixelFormat avpriv_find_pix_fmt(const PixelFormatTag *tags, unsigned int fourcc);
extern av_export const PixelFormatTag avpriv_pix_fmt_bps_avi[];
diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c
index ee1f3970ad..305c13e5e4 100644
--- a/libavcodec/rawdec.c
+++ b/libavcodec/rawdec.c
@@ -62,13 +62,6 @@ static const AVClass rawdec_class = {
.version = LIBAVUTIL_VERSION_INT,
};
-#if LIBAVCODEC_VERSION_MAJOR < 55
-enum AVPixelFormat ff_find_pix_fmt(const PixelFormatTag *tags, unsigned int fourcc)
-{
- return avpriv_find_pix_fmt(tags, fourcc);
-}
-#endif
-
static av_cold int raw_init_decoder(AVCodecContext *avctx)
{
RawVideoContext *context = avctx->priv_data;