Mercurial > libavcodec.hg
comparison mpegvideo.c @ 4658:31ebbdad594e libavcodec
cosmetic
author | michael |
---|---|
date | Tue, 13 Mar 2007 22:51:49 +0000 |
parents | e1939f338a0e |
children | 1f1a0e67b961 |
comparison
equal
deleted
inserted
replaced
4657:e1939f338a0e | 4658:31ebbdad594e |
---|---|
623 * the changed fields will not depend upon the prior state of the MpegEncContext. | 623 * the changed fields will not depend upon the prior state of the MpegEncContext. |
624 */ | 624 */ |
625 | 625 |
626 #ifdef CONFIG_ENCODERS | 626 #ifdef CONFIG_ENCODERS |
627 static void MPV_encode_defaults(MpegEncContext *s){ | 627 static void MPV_encode_defaults(MpegEncContext *s){ |
628 int i; | |
628 MPV_common_defaults(s); | 629 MPV_common_defaults(s); |
629 | 630 |
630 { | 631 for(i=-16; i<16; i++){ |
631 int i; | 632 default_fcode_tab[i + MAX_MV]= 1; |
632 | |
633 for(i=-16; i<16; i++){ | |
634 default_fcode_tab[i + MAX_MV]= 1; | |
635 } | |
636 } | 633 } |
637 s->me.mv_penalty= default_mv_penalty; | 634 s->me.mv_penalty= default_mv_penalty; |
638 s->fcode_tab= default_fcode_tab; | 635 s->fcode_tab= default_fcode_tab; |
639 } | 636 } |
640 #endif //CONFIG_ENCODERS | 637 #endif //CONFIG_ENCODERS |