comparison gifdec.c @ 4720:7775ba23c931 libavcodec

return error if loop has ended before decoding image
author bcoudurier
date Sun, 25 Mar 2007 00:12:24 +0000
parents 524ef62965bf
children 8342af7feb90
comparison
equal deleted inserted replaced
4719:524ef62965bf 4720:7775ba23c931
271 default: 271 default:
272 /* error or errneous EOF */ 272 /* error or errneous EOF */
273 return -1; 273 return -1;
274 } 274 }
275 } 275 }
276 return -1;
276 } 277 }
277 278
278 static int gif_decode_init(AVCodecContext *avctx) 279 static int gif_decode_init(AVCodecContext *avctx)
279 { 280 {
280 GifState *s = avctx->priv_data; 281 GifState *s = avctx->priv_data;