[FFmpeg-cvslog] avfilter/f_streamselect: check if map is available
Paul B Mahol
git at videolan.org
Tue Feb 16 19:19:28 CET 2016
ffmpeg | branch: master | Paul B Mahol <onemda at 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 <onemda at 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);
More information about the ffmpeg-cvslog
mailing list