# HG changeset patch # User benoit # Date 1222767664 0 # Node ID 0835de0148f8e725850c748b9c7584efafaeb24f # Parent 2909286867668135e729d2eceecb81048363a51d Remove useless test. diff -r 290928686766 -r 0835de0148f8 indeo3.c --- a/indeo3.c Tue Sep 30 09:35:53 2008 +0000 +++ b/indeo3.c Tue Sep 30 09:41:04 2008 +0000 @@ -121,9 +121,7 @@ bufsize = luma_pixels * 2 + luma_width * 3 + (chroma_pixels + chroma_width) * 4; - if((s->iv_frame[0].the_buf = - (s->iv_frame[0].the_buf_size == 0 ? av_malloc(bufsize) : - av_realloc(s->iv_frame[0].the_buf, bufsize))) == NULL) + if(!(s->iv_frame[0].the_buf = av_malloc(bufsize))) return; s->iv_frame[0].y_w = s->iv_frame[1].y_w = luma_width; s->iv_frame[0].y_h = s->iv_frame[1].y_h = luma_height;