Revision 66e5b1df libavformat/img2.c
libavformat/img2.c | ||
---|---|---|
287 | 287 |
infer_size(&codec->width, &codec->height, size[0]); |
288 | 288 |
} else { |
289 | 289 |
f[0] = s1->pb; |
290 |
if (url_feof(f[0]))
|
|
290 |
if (f[0]->eof_reached)
|
|
291 | 291 |
return AVERROR(EIO); |
292 | 292 |
size[0]= 4096; |
293 | 293 |
} |
Also available in: Unified diff