Mercurial > libavcodec.hg
comparison h263.c @ 9484:fb240cb99bcf libavcodec
Remove useless init from ff_mpeg4_set_direct_mv() found by CSA.
author | michael |
---|---|
date | Fri, 17 Apr 2009 18:24:39 +0000 |
parents | 44ea854a14b7 |
children | 483ba97736f8 |
comparison
equal
deleted
inserted
replaced
9483:5e27a38aeb81 | 9484:fb240cb99bcf |
---|---|
633 * @return the mb_type | 633 * @return the mb_type |
634 */ | 634 */ |
635 int ff_mpeg4_set_direct_mv(MpegEncContext *s, int mx, int my){ | 635 int ff_mpeg4_set_direct_mv(MpegEncContext *s, int mx, int my){ |
636 const int mb_index= s->mb_x + s->mb_y*s->mb_stride; | 636 const int mb_index= s->mb_x + s->mb_y*s->mb_stride; |
637 const int colocated_mb_type= s->next_picture.mb_type[mb_index]; | 637 const int colocated_mb_type= s->next_picture.mb_type[mb_index]; |
638 uint16_t time_pp= s->pp_time; | 638 uint16_t time_pp; |
639 uint16_t time_pb= s->pb_time; | 639 uint16_t time_pb; |
640 int i; | 640 int i; |
641 | 641 |
642 //FIXME avoid divides | 642 //FIXME avoid divides |
643 // try special case with shifts for 1 and 3 B-frames? | 643 // try special case with shifts for 1 and 3 B-frames? |
644 | 644 |