projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b023161
)
Remove now dead code.
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Wed, 26 Aug 2009 01:28:41 +0000
(
01:28
+0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Wed, 26 Aug 2009 01:28:41 +0000
(
01:28
+0000)
Originally committed as revision 19707 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/pgssubdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/pgssubdec.c
b/libavcodec/pgssubdec.c
index
c289cc6
..
b7832f2
100644
(file)
--- 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;