Browse Source

fix decoding if the aspect ratio changes

Originally committed as revision 2367 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 22 years ago
parent
commit
431f2172cd
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libavcodec/mpegvideo.c

+ 3
- 0
libavcodec/mpegvideo.c View File

@@ -555,6 +555,9 @@ void MPV_common_end(MpegEncContext *s)
}
avcodec_default_free_buffers(s->avctx);
s->context_initialized = 0;
s->last_picture_ptr=
s->next_picture_ptr=
s->current_picture_ptr= NULL;
}

#ifdef CONFIG_ENCODERS


Loading…
Cancel
Save