[FFmpeg-cvslog] lavfi-showfiltfmts: fix typo that segfaulted haiku.

Michael Niedermayer git at videolan.org
Sun Jan 15 19:54:37 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Jan 15 19:46:01 2012 +0100| [719a576f04f49116fe68a830dfee3ca651db1de8] | committer: Michael Niedermayer

lavfi-showfiltfmts: fix typo that segfaulted haiku.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=719a576f04f49116fe68a830dfee3ca651db1de8
---

 tools/lavfi-showfiltfmts.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/lavfi-showfiltfmts.c b/tools/lavfi-showfiltfmts.c
index 436f985..26fccbb 100644
--- a/tools/lavfi-showfiltfmts.c
+++ b/tools/lavfi-showfiltfmts.c
@@ -28,7 +28,7 @@ static void print_formats(AVFilterContext *filter_ctx)
     int i, j;
 
 #define PRINT_FMTS(inout, outin, INOUT)                                 \
-    for (i = 0; i < filter_ctx->input_count; i++) {                     \
+    for (i = 0; i < filter_ctx->inout##put_count; i++) {                     \
         if (filter_ctx->inout##puts[i]->type == AVMEDIA_TYPE_VIDEO) {   \
             AVFilterFormats *fmts =                                     \
                 filter_ctx->inout##puts[i]->outin##_formats;            \



More information about the ffmpeg-cvslog mailing list