[FFmpeg-cvslog] r25532 - trunk/libavcodec/ituh263enc.c

bcoudurier subversion
Thu Oct 21 08:21:08 CEST 2010


Author: bcoudurier
Date: Thu Oct 21 08:21:07 2010
New Revision: 25532

Log:
10l fix h263+ encoder, format will be 8, array size is 8 not 7

Modified:
   trunk/libavcodec/ituh263enc.c

Modified: trunk/libavcodec/ituh263enc.c
==============================================================================
--- trunk/libavcodec/ituh263enc.c	Thu Oct 21 02:57:53 2010	(r25531)
+++ trunk/libavcodec/ituh263enc.c	Thu Oct 21 08:21:07 2010	(r25532)
@@ -162,7 +162,7 @@ void h263_encode_picture_header(MpegEncC
 
         put_bits(&s->pb, 3, 7);
         put_bits(&s->pb,3,ufep); /* Update Full Extended PTYPE */
-        if (format == 7)
+        if (format == 8)
             put_bits(&s->pb,3,6); /* Custom Source Format */
         else
             put_bits(&s->pb, 3, format);
@@ -192,7 +192,7 @@ void h263_encode_picture_header(MpegEncC
         /* This should be here if PLUSPTYPE */
         put_bits(&s->pb, 1, 0); /* Continuous Presence Multipoint mode: off */
 
-                if (format == 7) {
+                if (format == 8) {
             /* Custom Picture Format (CPFMT) */
             s->aspect_ratio_info= ff_h263_aspect_to_info(s->avctx->sample_aspect_ratio);
 



More information about the ffmpeg-cvslog mailing list