Browse Source

Reindent.

Originally committed as revision 19645 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Reimar Döffinger 16 years ago
parent
commit
4a3190ed40
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      libavcodec/xsubdec.c

+ 3
- 3
libavcodec/xsubdec.c View File

@@ -83,9 +83,9 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size,
rlelen = bytestream_get_le16(&buf);

// allocate sub and set values
sub->rects = av_mallocz(sizeof(*sub->rects));
sub->rects[0] = av_mallocz(sizeof(*sub->rects[0]));
sub->num_rects = 1;
sub->rects = av_mallocz(sizeof(*sub->rects));
sub->rects[0] = av_mallocz(sizeof(*sub->rects[0]));
sub->num_rects = 1;
sub->rects[0]->x = x; sub->rects[0]->y = y;
sub->rects[0]->w = w; sub->rects[0]->h = h;
sub->rects[0]->type = SUBTITLE_BITMAP;


Loading…
Cancel
Save