Mercurial > libavcodec.hg
changeset 1894:3135de68d556 libavcodec
moving f/b_code init to where it should be
author | michael |
---|---|
date | Tue, 16 Mar 2004 17:27:03 +0000 |
parents | 779bdf5063ce |
children | e5687117cc7f |
files | mpegvideo.c |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mpegvideo.c Tue Mar 16 16:57:27 2004 +0000 +++ b/mpegvideo.c Tue Mar 16 17:27:03 2004 +0000 @@ -519,6 +519,9 @@ s->input_picture_number = 0; s->picture_in_gop_number = 0; + + s->f_code = 1; + s->b_code = 1; } /** @@ -1167,10 +1170,6 @@ if(ff_rate_control_init(s) < 0) return -1; - - /* motion detector init */ - s->f_code = 1; - s->b_code = 1; return 0; }