[Ffmpeg-cvslog] r6391 - trunk/libavcodec/rv10.c

michael subversion
Sat Sep 30 13:35:15 CEST 2006


Author: michael
Date: Sat Sep 30 13:35:14 2006
New Revision: 6391

Modified:
   trunk/libavcodec/rv10.c

Log:
big endian fix


Modified: trunk/libavcodec/rv10.c
==============================================================================
--- trunk/libavcodec/rv10.c	(original)
+++ trunk/libavcodec/rv10.c	Sat Sep 30 13:35:14 2006
@@ -532,7 +532,7 @@
     s->width = avctx->width;
     s->height = avctx->height;
 
-    s->h263_long_vectors= !!(*(uint32_t*)avctx->extradata & 0x1000000);
+    s->h263_long_vectors= ((uint8_t*)avctx->extradata)[3] & 1;
 
     switch(avctx->sub_id){
     case 0x10000000:




More information about the ffmpeg-cvslog mailing list