Commit 8ff06109 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/libzvbi-teletextdec: remove * 1

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 818aaa76
......@@ -457,7 +457,7 @@ static int teletext_decode_frame(AVCodecContext *avctx, void *data, int *data_si
sub->pts = ctx->pages->pts;
if (ctx->pages->sub_rect->type != SUBTITLE_NONE) {
sub->rects = av_malloc(sizeof(*sub->rects) * 1);
sub->rects = av_malloc(sizeof(*sub->rects));
if (sub->rects) {
sub->num_rects = 1;
sub->rects[0] = ctx->pages->sub_rect;
......
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