ffmpeg | branch: master | Paul B Mahol <one...@gmail.com> | Tue Feb 16 18:14:55 
2016 +0100| [c4ed21367559ec56a5e2d5197f930a871a86a510] | committer: Paul B Mahol

avfilter/f_streamselect: check if map is available

Signed-off-by: Paul B Mahol <one...@gmail.com>

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

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

diff --git a/libavfilter/f_streamselect.c b/libavfilter/f_streamselect.c
index db46c99..03cedba 100644
--- a/libavfilter/f_streamselect.c
+++ b/libavfilter/f_streamselect.c
@@ -267,7 +267,7 @@ static av_cold int init(AVFilterContext *ctx)
     if (!strcmp(ctx->filter->name, "astreamselect"))
         s->is_audio = 1;
 
-    for (;;) {
+    for (; map;) {
         char *p;
 
         strtol(map, &p, 0);

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to