diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-08-05 12:11:13 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-08-05 12:11:13 +0000 |
commit | 5968b39635742cd0d810fab325a12733104aecf8 (patch) | |
tree | edb94b816b5aa8c396e8ed5db116490392e48d8f /libavcodec/xsubdec.c | |
parent | 59f6f64e30f2120122b0e082daccacd5d2e62942 (diff) | |
download | ffmpeg-5968b39635742cd0d810fab325a12733104aecf8.tar.gz |
100l, wrong argument to av_freep
Originally committed as revision 9935 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/xsubdec.c')
-rw-r--r-- | libavcodec/xsubdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/xsubdec.c b/libavcodec/xsubdec.c index 01eb9a674b..cd327f8231 100644 --- a/libavcodec/xsubdec.c +++ b/libavcodec/xsubdec.c @@ -66,7 +66,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, sub->rects = av_mallocz(sizeof(AVSubtitleRect)); 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].w = w; sub->rects[0].h = h; sub->rects[0].linesize = w; |