aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2007-02-07 17:35:36 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2007-02-07 17:35:36 +0000
commit5959a29893fd7d807ab284c2670f43037b6059dc (patch)
treed83e1b00ad70dc0dc6641603f107b646ff9a535e /libavcodec
parent3160138fc234cd2751b6d6ba550cd064a73e6dbb (diff)
downloadffmpeg-5959a29893fd7d807ab284c2670f43037b6059dc.tar.gz
Fix incorrect use of ff_get_fourcc that made mjpgb not play on big endian.
Fixes bug 739. Originally committed as revision 7875 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mjpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mjpeg.c b/libavcodec/mjpeg.c
index 1dc66b7423..fa2c8b93d4 100644
--- a/libavcodec/mjpeg.c
+++ b/libavcodec/mjpeg.c
@@ -2249,7 +2249,7 @@ read_header:
skip_bits(&hgb, 32); /* reserved zeros */
- if (get_bits_long(&hgb, 32) != be2me_32(ff_get_fourcc("mjpg")))
+ if (get_bits_long(&hgb, 32) != MKBETAG('m','j','p','g'))
{
dprintf("not mjpeg-b (bad fourcc)\n");
return 0;