From 53db1cae1c2d555d207563e0197809faf23b3dcc Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 21 May 2004 14:37:16 +0000 Subject: data_size = 0 cleanup Originally committed as revision 3146 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/rv10.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'libavcodec/rv10.c') diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c index b67ec39..ade21db 100644 --- a/libavcodec/rv10.c +++ b/libavcodec/rv10.c @@ -651,7 +651,6 @@ static int rv10_decode_frame(AVCodecContext *avctx, /* no supplementary picture */ if (buf_size == 0) { - *data_size = 0; return 0; } @@ -685,8 +684,6 @@ static int rv10_decode_frame(AVCodecContext *avctx, } *data_size = sizeof(AVFrame); - }else{ - *data_size = 0; } return buf_size; -- cgit v1.1