mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
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
This commit is contained in:
parent
3160138fc2
commit
5959a29893
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user