Commit ecd44b84 authored by reimar's avatar reimar

Fix incorrect use of ff_get_fourcc that made mjpgb not play on big endian.

Fixes bug 739.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7875 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 937e53c6
...@@ -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