[Ffmpeg-cvslog] r7875 - trunk/libavcodec/mjpeg.c

reimar subversion
Wed Feb 7 18:35:36 CET 2007


Author: reimar
Date: Wed Feb  7 18:35:36 2007
New Revision: 7875

Modified:
   trunk/libavcodec/mjpeg.c

Log:
Fix incorrect use of ff_get_fourcc that made mjpgb not play on big endian.
Fixes bug 739.


Modified: trunk/libavcodec/mjpeg.c
==============================================================================
--- trunk/libavcodec/mjpeg.c	(original)
+++ trunk/libavcodec/mjpeg.c	Wed Feb  7 18:35:36 2007
@@ -2249,7 +2249,7 @@
 
     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;




More information about the ffmpeg-cvslog mailing list