[FFmpeg-cvslog] avcodec/libzvbi-teletextdec: remove * 1
Michael Niedermayer
git at videolan.org
Wed Apr 9 00:09:30 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Apr 8 22:38:21 2014 +0200| [8ff061095f155269470e1b969a5eb8f6cb2007a7] | committer: Michael Niedermayer
avcodec/libzvbi-teletextdec: remove * 1
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8ff061095f155269470e1b969a5eb8f6cb2007a7
---
libavcodec/libzvbi-teletextdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/libzvbi-teletextdec.c b/libavcodec/libzvbi-teletextdec.c
index 32475b1..e65e3fb 100644
--- a/libavcodec/libzvbi-teletextdec.c
+++ b/libavcodec/libzvbi-teletextdec.c
@@ -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;
More information about the ffmpeg-cvslog
mailing list