# HG changeset patch # User michael # Date 1065994378 0 # Node ID 925bcd748f4b02f690000ab309e0a016594edf40 # Parent 79dddc5cd9901ad12426c3d30eb77bb0862d54ed fix decoding if the aspect ratio changes diff -r 79dddc5cd990 -r 925bcd748f4b mpegvideo.c --- a/mpegvideo.c Sun Oct 12 21:25:00 2003 +0000 +++ b/mpegvideo.c Sun Oct 12 21:32:58 2003 +0000 @@ -555,6 +555,9 @@ } 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