[FFmpeg-devel] [PATCH] avformat/hlsenc: better checking var_stream_map content
lq at chinaffmpeg.org
Sat Jun 22 13:27:39 EEST 2019
> 在 2019年6月20日，15:46，Bodecs Bela <bodecsb at vivanet.hu> 写道：
> Dear All,
> When multiple variant streams are specified by var_stream_map option,
> implementation assumes that each elementary stream is assigned only once
> to any variant. But this is not checked currently. But 2nd and further instances
> of same elementary source streams are silently neglected without any notice.
> Examples for invalid var_stream_map content:
> "v:0,a:0 v:1,a:0"
> This is invalid because 1st and 2nd variant also contains a:0 source
> "v:0,a:0,v:0 v:1,a:1"
> This is invalid because 1st variant source contains v:0 twice.
> This patch makes this checking early, during the var_stream_map parsing phase.
> please review this patch.
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe”.
More information about the ffmpeg-devel