comparison xsubdec.c @ 10053:089dd845c8c0 libavcodec

Reindent.
author reimar
date Sat, 15 Aug 2009 00:58:26 +0000
parents 15a27663cce4
children 8ab9fbad11b2
comparison
equal deleted inserted replaced
10052:15a27663cce4 10053:089dd845c8c0
81 bytestream_get_le16(&buf); 81 bytestream_get_le16(&buf);
82 bytestream_get_le16(&buf); 82 bytestream_get_le16(&buf);
83 rlelen = bytestream_get_le16(&buf); 83 rlelen = bytestream_get_le16(&buf);
84 84
85 // allocate sub and set values 85 // allocate sub and set values
86 sub->rects = av_mallocz(sizeof(*sub->rects)); 86 sub->rects = av_mallocz(sizeof(*sub->rects));
87 sub->rects[0] = av_mallocz(sizeof(*sub->rects[0])); 87 sub->rects[0] = av_mallocz(sizeof(*sub->rects[0]));
88 sub->num_rects = 1; 88 sub->num_rects = 1;
89 sub->rects[0]->x = x; sub->rects[0]->y = y; 89 sub->rects[0]->x = x; sub->rects[0]->y = y;
90 sub->rects[0]->w = w; sub->rects[0]->h = h; 90 sub->rects[0]->w = w; sub->rects[0]->h = h;
91 sub->rects[0]->type = SUBTITLE_BITMAP; 91 sub->rects[0]->type = SUBTITLE_BITMAP;
92 sub->rects[0]->pict.linesize[0] = w; 92 sub->rects[0]->pict.linesize[0] = w;
93 sub->rects[0]->pict.data[0] = av_malloc(w * h); 93 sub->rects[0]->pict.data[0] = av_malloc(w * h);