[FFmpeg-cvslog] avfilter/graphparser: fix use of deprecated symbols

Michael Niedermayer git at videolan.org
Sun Aug 25 19:50:27 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Aug 25 19:36:58 2013 +0200| [1350a5c4d566b5c9d96eeaf2e40e183dbd098b16] | committer: Michael Niedermayer

avfilter/graphparser: fix use of deprecated symbols

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

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

 libavfilter/graphparser.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c
index e14c4ec..b1368d9 100644
--- a/libavfilter/graphparser.c
+++ b/libavfilter/graphparser.c
@@ -545,7 +545,7 @@ int avfilter_graph_parse_ptr(AVFilterGraph *graph, const char *filters,
         if ((ret = parse_filter(&filter, &filters, graph, index, log_ctx)) < 0)
             goto end;
 
-        if (filter->input_count == 1 && !curr_inputs && !index) {
+        if (filter->nb_inputs == 1 && !curr_inputs && !index) {
             /* First input pad, assume it is "[in]" if not specified */
             const char *tmp = "[in]";
             if ((ret = parse_inputs(&tmp, &curr_inputs, &open_outputs, log_ctx)) < 0)



More information about the ffmpeg-cvslog mailing list