[Ffmpeg-cvslog] r6185 - trunk/libavcodec/vmnc.c

kostya subversion
Thu Sep 7 06:08:34 CEST 2006


Author: kostya
Date: Thu Sep  7 06:08:34 2006
New Revision: 6185

Modified:
   trunk/libavcodec/vmnc.c

Log:
Handle the rest of known blocks (by skipping them)


Modified: trunk/libavcodec/vmnc.c
==============================================================================
--- trunk/libavcodec/vmnc.c	(original)
+++ trunk/libavcodec/vmnc.c	Thu Sep  7 06:08:34 2006
@@ -363,6 +363,12 @@
             c->cur_x = dx - c->cur_hx;
             c->cur_y = dy - c->cur_hy;
             break;
+        case MAGIC_WMVg: // unknown
+            src += 10;
+            break;
+        case MAGIC_WMVh: // unknown
+            src += 4;
+            break;
         case MAGIC_WMVi: // ServerInitialization struct
             c->pic.key_frame = 1;
             c->pic.pict_type = FF_I_TYPE;
@@ -379,6 +385,9 @@
             //skip the rest of pixel format data
             src += 13;
             break;
+        case MAGIC_WMVj: // unknown
+            src += 2;
+            break;
         case 0x00000000: // raw rectangle data
             if((dx + w > c->width) || (dy + h > c->height)) {
                 av_log(avctx, AV_LOG_ERROR, "Incorrect frame size: %ix%i+%ix%i of %ix%i\n", w, h, dx, dy, c->width, c->height);




More information about the ffmpeg-cvslog mailing list