summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-06-05 14:31:29 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-06-07 22:13:59 +0200
commit42b774ab6f45f755d0a1ee1464c415a93326736a (patch)
treee4480393ff562fd642397e0cd9908916424eb0e9 /libavutil
parentd9b0d75c56b07839976734e67507255a39e31e1c (diff)
opt: init test_ctx to 0.
Otherwise, setting string will try to free a random address.
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/opt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/opt.c b/libavutil/opt.c
index f59bad352f..9af3fe47cb 100644
--- a/libavutil/opt.c
+++ b/libavutil/opt.c
@@ -927,7 +927,7 @@ int main(void)
printf("\nTesting av_set_options_string()\n");
{
- TestContext test_ctx;
+ TestContext test_ctx = { 0 };
const char *options[] = {
"",
":",