diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-08-26 01:28:41 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-08-26 01:28:41 +0000 |
commit | c7d28f4388a246d2f57c995f61e0fa72d39d453e (patch) | |
tree | 3acf943d1cadadfb5b9da5b9bdf15515310f6ce1 | |
parent | b02316146b35cd03715d166acb35d88f33eac990 (diff) | |
download | ffmpeg-c7d28f4388a246d2f57c995f61e0fa72d39d453e.tar.gz |
Remove now dead code.
Originally committed as revision 19707 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/pgssubdec.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/pgssubdec.c b/libavcodec/pgssubdec.c index c289cc6a37..b7832f20ba 100644 --- a/libavcodec/pgssubdec.c +++ b/libavcodec/pgssubdec.c @@ -348,11 +348,9 @@ static int display_end_segment(AVCodecContext *avctx, void *data, 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; |