aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h263.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-12-21 13:23:49 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-12-21 13:23:49 +0000
commit51b1a6c939098fd2e0488f130eb8f79fdee0a446 (patch)
tree2f528a375f71ad1a9a9afc7ce58085ecc15f2c27 /libavcodec/h263.c
parent2d1e5071e221738c666adf9f5d25c1a2606e1e90 (diff)
downloadffmpeg-51b1a6c939098fd2e0488f130eb8f79fdee0a446.tar.gz
dont randomly dissallow direct MBs
some PSNR/bitrate gain for b frames with adaptive quant or QPRD Originally committed as revision 7341 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263.c')
-rw-r--r--libavcodec/h263.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c
index ba51c245a6..ca8675de5d 100644
--- a/libavcodec/h263.c
+++ b/libavcodec/h263.c
@@ -546,7 +546,6 @@ void ff_clean_mpeg4_qscales(MpegEncContext *s){
for(i=1; i<s->mb_num; i++){
int mb_xy= s->mb_index2xy[i];
if(qscale_table[mb_xy] != qscale_table[s->mb_index2xy[i-1]] && (s->mb_type[mb_xy]&CANDIDATE_MB_TYPE_DIRECT)){
- s->mb_type[mb_xy]&= ~CANDIDATE_MB_TYPE_DIRECT;
s->mb_type[mb_xy]|= CANDIDATE_MB_TYPE_BIDIR;
}
}