From 8343eff3e5d9759b1aa79ebb3f8494c3036fc34f Mon Sep 17 00:00:00 2001 From: Canber Date: Sat, 27 Jul 2019 12:55:06 +0800 Subject: [PATCH] Update ffmpeg_hello.c --- ffmpeg-single-hello/src/main/cpp/ffmpeg_hello.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ffmpeg-single-hello/src/main/cpp/ffmpeg_hello.c b/ffmpeg-single-hello/src/main/cpp/ffmpeg_hello.c index 8bdcdf4..a8c8466 100644 --- a/ffmpeg-single-hello/src/main/cpp/ffmpeg_hello.c +++ b/ffmpeg-single-hello/src/main/cpp/ffmpeg_hello.c @@ -111,6 +111,7 @@ JNIEXPORT jstring JNICALL Java_com_onzhou_ffmpeg_hello_FFmpegHello_avfilterinfo AVFilter *f_temp = (AVFilter *)avfilter_next(NULL); while (f_temp != NULL){ sprintf(info, "%s[%10s]\n", info, f_temp->name); + f_temp = f_temp->next; } LOGE("%s", info); return (*env)->NewStringUTF(env, info); @@ -127,4 +128,4 @@ JNIEXPORT jstring JNICALL Java_com_onzhou_ffmpeg_hello_FFmpegHello_configuration LOGE("%s", info); return (*env)->NewStringUTF(env, info); -} \ No newline at end of file +}