mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
avcodec/mpegvideo_enc: Remove impossible branch
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
4707023a95
commit
8a431a2bb6
1 changed files with 1 additions and 3 deletions
|
|
@ -3596,9 +3596,7 @@ static int encode_picture(MpegEncContext *s, int picture_number)
|
||||||
s->p_field_mv_table[i][j], s->f_code, CANDIDATE_MB_TYPE_INTER_I, !!s->intra_penalty);
|
s->p_field_mv_table[i][j], s->f_code, CANDIDATE_MB_TYPE_INTER_I, !!s->intra_penalty);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
} else if (s->pict_type == AV_PICTURE_TYPE_B) {
|
||||||
|
|
||||||
if(s->pict_type==AV_PICTURE_TYPE_B){
|
|
||||||
int a, b;
|
int a, b;
|
||||||
|
|
||||||
a = ff_get_best_fcode(s, s->b_forw_mv_table, CANDIDATE_MB_TYPE_FORWARD);
|
a = ff_get_best_fcode(s, s->b_forw_mv_table, CANDIDATE_MB_TYPE_FORWARD);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue