diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-06-05 14:31:29 +0200 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-06-07 22:13:59 +0200 |
commit | 42b774ab6f45f755d0a1ee1464c415a93326736a (patch) | |
tree | e4480393ff562fd642397e0cd9908916424eb0e9 /libavutil | |
parent | d9b0d75c56b07839976734e67507255a39e31e1c (diff) | |
download | ffmpeg-streaming-42b774ab6f45f755d0a1ee1464c415a93326736a.zip ffmpeg-streaming-42b774ab6f45f755d0a1ee1464c415a93326736a.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/opt.c b/libavutil/opt.c index f59bad3..9af3fe4 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[] = { "", ":", |