You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Merge remote-tracking branch 'cigaes/master'
* cigaes/master: lavf/concat: reject empty scripts. Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -216,6 +216,8 @@ static int concat_read_header(AVFormatContext *avf)
|
|||||||
}
|
}
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
FAIL(ret);
|
FAIL(ret);
|
||||||
|
if (!cat->nb_files)
|
||||||
|
FAIL(AVERROR_INVALIDDATA);
|
||||||
|
|
||||||
for (i = 0; i < cat->nb_files; i++) {
|
for (i = 0; i < cat->nb_files; i++) {
|
||||||
if (cat->files[i].start_time == AV_NOPTS_VALUE)
|
if (cat->files[i].start_time == AV_NOPTS_VALUE)
|
||||||
|
Reference in New Issue
Block a user