mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-02-02 02:04:19 +00:00
Merge commit 'a58873b11198d04670b7f98f5a8a749d742db7c5'
* commit 'a58873b11198d04670b7f98f5a8a749d742db7c5': avconv: when using -loop option bail out if seek to start fails Merged-by: James Almer <jamrial@gmail.com>
This commit is contained in:
commit
09100ccc14
@ -4198,9 +4198,11 @@ static int process_input(int file_index)
|
||||
return ret;
|
||||
}
|
||||
if (ret < 0 && ifile->loop) {
|
||||
if ((ret = seek_to_start(ifile, is)) < 0)
|
||||
return ret;
|
||||
ret = get_input_packet(ifile, &pkt);
|
||||
ret = seek_to_start(ifile, is);
|
||||
if (ret < 0)
|
||||
av_log(NULL, AV_LOG_WARNING, "Seek to start failed.\n");
|
||||
else
|
||||
ret = get_input_packet(ifile, &pkt);
|
||||
if (ret == AVERROR(EAGAIN)) {
|
||||
ifile->eagain = 1;
|
||||
return ret;
|
||||
|
Loading…
x
Reference in New Issue
Block a user