summaryrefslogtreecommitdiff
path: root/libavcodec/roqvideodec.c
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2007-07-02 10:21:41 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2007-07-02 10:21:41 +0000
commit35c621e753c29d256dee0932fad59b83bf506ff4 (patch)
tree5966c92896b231b35442cb11e2ac97249b61580c /libavcodec/roqvideodec.c
parentfb44e0706fabbb690d03d8cc042cbe445cbe3694 (diff)
use properly AVFrame.linesize
patch by Vitor: [vitor1001 gmail com] Originally committed as revision 9458 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/roqvideodec.c')
-rw-r--r--libavcodec/roqvideodec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/roqvideodec.c b/libavcodec/roqvideodec.c
index 8a3328ecc6..32da3fd919 100644
--- a/libavcodec/roqvideodec.c
+++ b/libavcodec/roqvideodec.c
@@ -180,8 +180,6 @@ static int roq_decode_frame(AVCodecContext *avctx,
av_log(avctx, AV_LOG_ERROR, " RoQ: get_buffer() failed\n");
return -1;
}
- s->y_stride = s->current_frame->linesize[0];
- s->c_stride = s->current_frame->linesize[1];
s->buf = buf;
s->size = buf_size;