summaryrefslogtreecommitdiffstats
path: root/libavcodec/rv10.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-05-21 14:37:16 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-05-21 14:37:16 +0000
commit53db1cae1c2d555d207563e0197809faf23b3dcc (patch)
tree1d4141bca722343f1a1d3fb004f52a5269865787 /libavcodec/rv10.c
parent5da42be1921604a97e6180f242c78c484a179314 (diff)
downloadffmpeg-streaming-53db1cae1c2d555d207563e0197809faf23b3dcc.zip
ffmpeg-streaming-53db1cae1c2d555d207563e0197809faf23b3dcc.tar.gz
data_size = 0 cleanup
Originally committed as revision 3146 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/rv10.c')
-rw-r--r--libavcodec/rv10.c3
1 files changed, 0 insertions, 3 deletions
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;
OpenPOWER on IntegriCloud