Commit 5959a298 authored by Reimar Döffinger's avatar Reimar Döffinger

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
parent 3160138f
...@@ -2249,7 +2249,7 @@ read_header: ...@@ -2249,7 +2249,7 @@ read_header:
skip_bits(&hgb, 32); /* reserved zeros */ 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"); dprintf("not mjpeg-b (bad fourcc)\n");
return 0; return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment