From 2bb6eba21d1843d67127be031aab7576dbe4c200 Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Sat, 17 Jan 2009 12:21:01 +0000 Subject: remove ff_get_fourcc() and use AV_RL32() instead Originally committed as revision 16654 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/avidec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavformat/avidec.c') diff --git a/libavformat/avidec.c b/libavformat/avidec.c index 128614be50..693bdc2053 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/intreadwrite.h" #include "libavutil/bswap.h" #include "avformat.h" #include "avi.h" @@ -517,7 +518,7 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap) st->need_parsing = AVSTREAM_PARSE_NONE; /* AVI files with Xan DPCM audio (wrongly) declare PCM * audio in the header but have Axan as stream_code_tag. */ - if (st->codec->stream_codec_tag == ff_get_fourcc("Axan")){ + if (st->codec->stream_codec_tag == AV_RL32("Axan")){ st->codec->codec_id = CODEC_ID_XAN_DPCM; st->codec->codec_tag = 0; } -- cgit v1.2.3