|
|
@@ -2615,9 +2615,11 @@ static int process_input(void) |
|
|
return ret; |
|
|
return ret; |
|
|
} |
|
|
} |
|
|
if (ret < 0 && ifile->loop) { |
|
|
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 < 0) { |
|
|
if (ret < 0) { |
|
|
if (ret != AVERROR_EOF) { |
|
|
if (ret != AVERROR_EOF) { |
|
|
|