Commit 9686adc5 authored by reimar's avatar reimar

100l, wrong argument to av_freep


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9935 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d6e80d40
...@@ -66,7 +66,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, ...@@ -66,7 +66,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size,
sub->rects = av_mallocz(sizeof(AVSubtitleRect)); sub->rects = av_mallocz(sizeof(AVSubtitleRect));
sub->num_rects = 1; sub->num_rects = 1;
} }
av_freep(sub->rects[0].bitmap); av_freep(&sub->rects[0].bitmap);
sub->rects[0].x = x; sub->rects[0].y = y; sub->rects[0].x = x; sub->rects[0].y = y;
sub->rects[0].w = w; sub->rects[0].h = h; sub->rects[0].w = w; sub->rects[0].h = h;
sub->rects[0].linesize = w; sub->rects[0].linesize = w;
......
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