summaryrefslogtreecommitdiff
path: root/libavcodec/xsubdec.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-08-15 00:58:26 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-08-15 00:58:26 +0000
commit4a3190ed40567bc964c8931c45a151f696a6c873 (patch)
treeaf5ef5647ee972ec96dbf35ddd685edeac69655c /libavcodec/xsubdec.c
parentfd35d6d097b98f6e585da3c4cac57a9b406ec686 (diff)
Reindent.
Originally committed as revision 19645 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/xsubdec.c')
-rw-r--r--libavcodec/xsubdec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/xsubdec.c b/libavcodec/xsubdec.c
index d11d337fc4..2e2cef550d 100644
--- a/libavcodec/xsubdec.c
+++ b/libavcodec/xsubdec.c
@@ -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;