Commit 92ef5db7 authored by reimar's avatar reimar

Remove now dead code.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19707 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 684a9f13
...@@ -348,11 +348,9 @@ static int display_end_segment(AVCodecContext *avctx, void *data, ...@@ -348,11 +348,9 @@ static int display_end_segment(AVCodecContext *avctx, void *data,
sub->end_display_time = 20000; sub->end_display_time = 20000;
sub->format = 0; sub->format = 0;
if (!sub->rects) {
sub->rects = av_mallocz(sizeof(*sub->rects)); sub->rects = av_mallocz(sizeof(*sub->rects));
sub->rects[0] = av_mallocz(sizeof(*sub->rects[0])); sub->rects[0] = av_mallocz(sizeof(*sub->rects[0]));
sub->num_rects = 1; sub->num_rects = 1;
}
sub->rects[0]->x = ctx->presentation.x; sub->rects[0]->x = ctx->presentation.x;
sub->rects[0]->y = ctx->presentation.y; sub->rects[0]->y = ctx->presentation.y;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment