Commit fbe1d49c authored by michael's avatar michael

Dont senselessly fail on rawvideo that isnt 3 files per frame.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22637 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent fc2c6ed2
......@@ -269,6 +269,8 @@ static int img_read_packet(AVFormatContext *s1, AVPacket *pkt)
return AVERROR(EIO);
for(i=0; i<3; i++){
if (url_fopen(&f[i], filename, URL_RDONLY) < 0) {
if(i==1)
break;
av_log(s1, AV_LOG_ERROR, "Could not open file : %s\n",filename);
return AVERROR(EIO);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment