summaryrefslogtreecommitdiff
path: root/libavcodec/roqvideo.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/roqvideo.c
parent5da42be1921604a97e6180f242c78c484a179314 (diff)
data_size = 0 cleanup
Originally committed as revision 3146 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/roqvideo.c')
-rw-r--r--libavcodec/roqvideo.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/roqvideo.c b/libavcodec/roqvideo.c
index bd26961dc1..7d6b518ee4 100644
--- a/libavcodec/roqvideo.c
+++ b/libavcodec/roqvideo.c
@@ -450,8 +450,6 @@ static int roq_decode_frame(AVCodecContext *avctx,
{
RoqContext *s = avctx->priv_data;
- *data_size = 0;
-
if (avctx->get_buffer(avctx, &s->current_frame)) {
av_log(avctx, AV_LOG_ERROR, " RoQ: get_buffer() failed\n");
return -1;