mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-01 05:31:04 +08:00
Remove now dead code.
Originally committed as revision 19707 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user