changeset 10088:ecc8287398bc libavcodec

Remove now dead code.
author reimar
date Wed, 26 Aug 2009 01:28:41 +0000
parents 8f1e09db0905
children b9247f1debb2
files pgssubdec.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pgssubdec.c	Wed Aug 26 01:27:58 2009 +0000
+++ b/pgssubdec.c	Wed Aug 26 01:28:41 2009 +0000
@@ -348,11 +348,9 @@
     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;