Mercurial > libavcodec.hg
comparison mpeg12.c @ 69:361631a8d140 libavcodec
copy avctx
author | glantau |
---|---|
date | Wed, 15 Aug 2001 13:11:03 +0000 |
parents | 5aa6292a1660 |
children | 0b09bd08ef4b |
comparison
equal
deleted
inserted
replaced
68:99cc25b48e24 | 69:361631a8d140 |
---|---|
1394 MPV_common_end(s); | 1394 MPV_common_end(s); |
1395 } | 1395 } |
1396 s->width = width; | 1396 s->width = width; |
1397 s->height = height; | 1397 s->height = height; |
1398 s->has_b_frames = 1; | 1398 s->has_b_frames = 1; |
1399 s->avctx = avctx; | |
1399 avctx->width = width; | 1400 avctx->width = width; |
1400 avctx->height = height; | 1401 avctx->height = height; |
1401 avctx->frame_rate = frame_rate_tab[s->frame_rate_index]; | 1402 avctx->frame_rate = frame_rate_tab[s->frame_rate_index]; |
1402 avctx->bit_rate = s->bit_rate; | 1403 avctx->bit_rate = s->bit_rate; |
1403 | 1404 |