#11099: streamselect filter, map parsing
-------------------------------------+-------------------------------------
Reporter: ManDay | Type: defect
Status: new | Priority: normal
Component: avfilter | Version:
Keywords: | unspecified
streamselect | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
It seems the streamselect filter (which is important, because it is the
only method to consistently define substitution macros!) does not parse
the map beyond the first argument:
{{{
const int n = strtol(map, &p, 0);
if (map == p)
break;
map = p;
}}}
will at most read up to the first (unspecified) seperator, whence it
stops. Instead, I think, should read
{{{
if (map == p)
break;
map = p + (*p != '\0');
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11099>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".