OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3160138
)
Fix incorrect use of ff_get_fourcc that made mjpgb not play on big endian.
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Wed, 7 Feb 2007 17:35:36 +0000
(17:35 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Wed, 7 Feb 2007 17:35:36 +0000
(17:35 +0000)
Fixes bug 739.
Originally committed as revision 7875 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mjpeg.c
patch
|
blob
|
history
diff --git
a/libavcodec/mjpeg.c
b/libavcodec/mjpeg.c
index
1dc66b7
..
fa2c8b9
100644
(file)
--- 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;