mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +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:
commit
42af97dbc0
@ -216,6 +216,8 @@ static int concat_read_header(AVFormatContext *avf)
|
||||
}
|
||||
if (ret < 0)
|
||||
FAIL(ret);
|
||||
if (!cat->nb_files)
|
||||
FAIL(AVERROR_INVALIDDATA);
|
||||
|
||||
for (i = 0; i < cat->nb_files; i++) {
|
||||
if (cat->files[i].start_time == AV_NOPTS_VALUE)
|
||||
|
Loading…
Reference in New Issue
Block a user