Commit 4c5a7a9d authored by michaelni's avatar michaelni

fixing msmpeg4v3 encoding at bitrates <128k


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1052 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e79ee728
...@@ -369,7 +369,8 @@ void msmpeg4_encode_picture_header(MpegEncContext * s, int picture_number) ...@@ -369,7 +369,8 @@ void msmpeg4_encode_picture_header(MpegEncContext * s, int picture_number)
s->mv_table_index = 1; /* only if P frame */ s->mv_table_index = 1; /* only if P frame */
s->use_skip_mb_code = 1; /* only if P frame */ s->use_skip_mb_code = 1; /* only if P frame */
s->per_mb_rl_table = 0; s->per_mb_rl_table = 0;
s->inter_intra_pred= (s->width*s->height < 320*240 && s->bit_rate<=II_BITRATE && s->pict_type==P_TYPE); if(s->msmpeg4_version==4)
s->inter_intra_pred= (s->width*s->height < 320*240 && s->bit_rate<=II_BITRATE && s->pict_type==P_TYPE);
if (s->pict_type == I_TYPE) { if (s->pict_type == I_TYPE) {
s->no_rounding = 1; s->no_rounding = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment