comparison mpegvideo.c @ 1523:925bcd748f4b libavcodec

fix decoding if the aspect ratio changes
author michael
date Sun, 12 Oct 2003 21:32:58 +0000
parents 79dddc5cd990
children 3b31998fe22f
comparison
equal deleted inserted replaced
1522:79dddc5cd990 1523:925bcd748f4b
553 for(i=0; i<MAX_PICTURE_COUNT; i++){ 553 for(i=0; i<MAX_PICTURE_COUNT; i++){
554 free_picture(s, &s->picture[i]); 554 free_picture(s, &s->picture[i]);
555 } 555 }
556 avcodec_default_free_buffers(s->avctx); 556 avcodec_default_free_buffers(s->avctx);
557 s->context_initialized = 0; 557 s->context_initialized = 0;
558 s->last_picture_ptr=
559 s->next_picture_ptr=
560 s->current_picture_ptr= NULL;
558 } 561 }
559 562
560 #ifdef CONFIG_ENCODERS 563 #ifdef CONFIG_ENCODERS
561 564
562 /* init video encoder */ 565 /* init video encoder */