comparison mpegvideo.c @ 2213:c17d0cbbdf66 libavcodec

10l (wrong coded_picture)
author michael
date Wed, 08 Sep 2004 10:07:08 +0000
parents f3f5dabef677
children 5ca45491294b
comparison
equal deleted inserted replaced
2212:93091141f75e 2213:c17d0cbbdf66
1540 #if 0 1540 #if 0
1541 memset(&s->last_picture, 0, sizeof(Picture)); 1541 memset(&s->last_picture, 0, sizeof(Picture));
1542 memset(&s->next_picture, 0, sizeof(Picture)); 1542 memset(&s->next_picture, 0, sizeof(Picture));
1543 memset(&s->current_picture, 0, sizeof(Picture)); 1543 memset(&s->current_picture, 0, sizeof(Picture));
1544 #endif 1544 #endif
1545 s->avctx->coded_frame= (AVFrame*)s->current_picture_ptr;
1545 } 1546 }
1546 1547
1547 /** 1548 /**
1548 * draws an line from (ex, ey) -> (sx, sy). 1549 * draws an line from (ex, ey) -> (sx, sy).
1549 * @param w width of the image 1550 * @param w width of the image