|
@@ -124,7 +124,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) |
|
|
int ret; |
|
|
int ret; |
|
|
|
|
|
|
|
|
if (ico->current_image >= ico->nb_images) |
|
|
if (ico->current_image >= ico->nb_images) |
|
|
return AVERROR(EIO); |
|
|
|
|
|
|
|
|
return AVERROR_EOF; |
|
|
|
|
|
|
|
|
image = &ico->images[ico->current_image]; |
|
|
image = &ico->images[ico->current_image]; |
|
|
|
|
|
|
|
|