[FFmpeg-cvslog] r19707 - trunk/libavcodec/pgssubdec.c

reimar subversion
Wed Aug 26 03:28:41 CEST 2009


Author: reimar
Date: Wed Aug 26 03:28:41 2009
New Revision: 19707

Log:
Remove now dead code.

Modified:
   trunk/libavcodec/pgssubdec.c

Modified: trunk/libavcodec/pgssubdec.c
==============================================================================
--- trunk/libavcodec/pgssubdec.c	Wed Aug 26 03:27:58 2009	(r19706)
+++ trunk/libavcodec/pgssubdec.c	Wed Aug 26 03:28:41 2009	(r19707)
@@ -348,11 +348,9 @@ static int display_end_segment(AVCodecCo
     sub->end_display_time   = 20000;
     sub->format             = 0;
 
-    if (!sub->rects) {
         sub->rects     = av_mallocz(sizeof(*sub->rects));
         sub->rects[0]  = av_mallocz(sizeof(*sub->rects[0]));
         sub->num_rects = 1;
-    }
 
     sub->rects[0]->x    = ctx->presentation.x;
     sub->rects[0]->y    = ctx->presentation.y;



More information about the ffmpeg-cvslog mailing list