lavf/webvttenc: Require webvtt file to contain exactly one WebVTT stream.
authorSimon Thelen <ffmpeg-dev@c-14.de>
Fri, 11 Sep 2015 19:49:07 +0000 (21:49 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 12 Sep 2015 00:17:41 +0000 (02:17 +0200)
commitb84232694ef0c6897e82b52326c9ea4027c69ec4
tree6fd1aa26b9a47858e730cd345395322ea585fbc1
parent02064d6b7bb93d7e85309fb48ee1d2b25f59e452
lavf/webvttenc: Require webvtt file to contain exactly one WebVTT stream.

Not requiring this can end up producing hilariously broken files
together with -c:s copy (e.g. a webvtt file containing binary subtitle data).

Signed-off-by: Simon Thelen <ffmpeg-dev@c-14.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/webvttenc.c