aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-03-18 01:09:40 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-03-18 01:12:03 +0100
commit50d67d951c161b1a6fa144d333daa1acc2c1fb1c (patch)
tree04100a95f209dc271051c7a885b363d92958f99f
parent79a19f6e589b302de4502fd4cb1e9d800cfa4179 (diff)
downloadffmpeg-50d67d951c161b1a6fa144d333daa1acc2c1fb1c.tar.gz
x11grab: fix compilation
Found-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavdevice/x11grab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/x11grab.c b/libavdevice/x11grab.c
index 48d5118b4a..46af711815 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;
}