aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vp56.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2008-12-15 00:00:16 +0000
committerAurelien Jacobs <aurel@gnuage.org>2008-12-15 00:00:16 +0000
commitbf73801bec57fafbf160ee10d072d64b8bb510ba (patch)
tree5920fb567b7f16893be3d11b73c75d0aa6ead9c5 /libavcodec/vp56.c
parentb9b2b8c93b40a2d96f25362e9c8d7611d0adc3c7 (diff)
downloadffmpeg-bf73801bec57fafbf160ee10d072d64b8bb510ba.tar.gz
vp56: don't reset dimensions to 0 in codec init
Originally committed as revision 16140 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp56.c')
-rw-r--r--libavcodec/vp56.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/vp56.c b/libavcodec/vp56.c
index 663c267213..79667cf263 100644
--- a/libavcodec/vp56.c
+++ b/libavcodec/vp56.c
@@ -657,8 +657,6 @@ av_cold void vp56_init(AVCodecContext *avctx, int flip, int has_alpha)
dsputil_init(&s->dsp, avctx);
ff_init_scantable(s->dsp.idct_permutation, &s->scantable,ff_zigzag_direct);
- avcodec_set_dimensions(avctx, 0, 0);
-
for (i=0; i<4; i++)
s->framep[i] = &s->frames[i];
s->framep[VP56_FRAME_UNUSED] = s->framep[VP56_FRAME_GOLDEN];