Browse Source

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>
tags/n2.4
James Almer Michael Niedermayer 11 years ago
parent
commit
8dfb8190d7
3 changed files with 1 additions and 11 deletions
  1. +0
    -1
      libavcodec/libavcodec.v
  2. +1
    -3
      libavcodec/raw.h
  3. +0
    -7
      libavcodec/rawdec.c

+ 0
- 1
libavcodec/libavcodec.v View File

@@ -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;


+ 1
- 3
libavcodec/raw.h View File

@@ -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[];


+ 0
- 7
libavcodec/rawdec.c View File

@@ -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;


Loading…
Cancel
Save