projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59f6f64
)
100l, wrong argument to av_freep
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sun, 5 Aug 2007 12:11:13 +0000
(12:11 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sun, 5 Aug 2007 12:11:13 +0000
(12:11 +0000)
Originally committed as revision 9935 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/xsubdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/xsubdec.c
b/libavcodec/xsubdec.c
index 01eb9a674b408d9f161a5e35bc932d3785bed431..cd327f823179e9b8ddbb8186b5037993e1932a13 100644
(file)
--- 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;