[FFmpeg-cvslog] x11grab: fix compilation
Michael Niedermayer
git at videolan.org
Sun Mar 18 01:35:14 CET 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Mar 18 01:09:40 2012 +0100| [50d67d951c161b1a6fa144d333daa1acc2c1fb1c] | committer: Michael Niedermayer
x11grab: fix compilation
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=50d67d951c161b1a6fa144d333daa1acc2c1fb1c
---
libavdevice/x11grab.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavdevice/x11grab.c b/libavdevice/x11grab.c
index 48d5118..46af711 100644
--- a/libavdevice/x11grab.c
+++ b/libavdevice/x11grab.c
@@ -323,7 +323,7 @@ x11grab_read_header(AVFormatContext *s1)
st->codec->bit_rate = x11grab->frame_size * 1/av_q2d(x11grab->time_base) * 8;
out:
- av_free(param);
+ av_free(dpyname);
return ret;
}
More information about the ffmpeg-cvslog
mailing list