opt: init test_ctx to 0.
Otherwise, setting string will try to free a random address.
This commit is contained in:
@@ -927,7 +927,7 @@ int main(void)
|
|||||||
|
|
||||||
printf("\nTesting av_set_options_string()\n");
|
printf("\nTesting av_set_options_string()\n");
|
||||||
{
|
{
|
||||||
TestContext test_ctx;
|
TestContext test_ctx = { 0 };
|
||||||
const char *options[] = {
|
const char *options[] = {
|
||||||
"",
|
"",
|
||||||
":",
|
":",
|
||||||
|
Reference in New Issue
Block a user