Commit 33788f87 authored by Linshizhi's avatar Linshizhi

cleanup update

parent ca91b230
......@@ -103,6 +103,7 @@ void filterCtx_Release(FilteringContext **f_ctx) {
int audioMixArbitary(int numOfAudios, AudioFile *files[], AudioFile *o_file) {
int err = 0;
FilteringContext *filter_ctx = NULL;
AudioStreamingContext *output_ctx;
AudioStreamingContext **audio_ctx =
(AudioStreamingContext**)calloc(1, numOfAudios*sizeof(AudioStreamingContext));
......@@ -124,7 +125,7 @@ int audioMixArbitary(int numOfAudios, AudioFile *files[], AudioFile *o_file) {
}
/* Create filter graph */
FilteringContext *filter_ctx = create_filter_context(numOfAudios, audio_ctx);
filter_ctx = create_filter_context(numOfAudios, audio_ctx);
if (filter_ctx == NULL) {
printf("Failed to create filter context\n");
goto FAIL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment