diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-02-07 20:35:36 +0300 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-02-07 20:35:36 +0300 |
commit | 5959a29893fd7d807ab284c2670f43037b6059dc (patch) | |
tree | d83e1b00ad70dc0dc6641603f107b646ff9a535e /libavcodec/mjpeg.c | |
parent | 3160138fc234cd2751b6d6ba550cd064a73e6dbb (diff) |
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/mjpeg.c')
-rw-r--r-- | libavcodec/mjpeg.c | 2 |
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; |