diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-03-23 13:25:42 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-03-23 13:25:42 +0100 |
commit | 82a90e7764ad04afd3679e4e4e89d85c7e4d4b53 (patch) | |
tree | 81d41c1f195e173b1cca9d78bf2dee13eb49be13 /libavcodec/rawdec.c | |
parent | 686e662676288f04337d1dffcd0edf8235c9c8bf (diff) | |
download | ffmpeg-82a90e7764ad04afd3679e4e4e89d85c7e4d4b53.tar.gz |
Move avpriv_find_pix_fmt() to utils.c
Fixes build with --disable-everything
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/rawdec.c')
-rw-r--r-- | libavcodec/rawdec.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c index f46ca6434d..007674ec38 100644 --- a/libavcodec/rawdec.c +++ b/libavcodec/rawdec.c @@ -89,17 +89,6 @@ static const PixelFormatTag pix_fmt_bps_mov[] = { { AV_PIX_FMT_NONE, 0 }, }; -enum AVPixelFormat avpriv_find_pix_fmt(const PixelFormatTag *tags, - unsigned int fourcc) -{ - while (tags->pix_fmt >= 0) { - if (tags->fourcc == fourcc) - return tags->pix_fmt; - tags++; - } - return AV_PIX_FMT_NONE; -} - #if LIBAVCODEC_VERSION_MAJOR < 55 enum AVPixelFormat ff_find_pix_fmt(const PixelFormatTag *tags, unsigned int fourcc) { |