projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9015b09
)
Make sure ff_init_qscale_tab() is called one way or another when
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 3 Dec 2009 21:38:10 +0000
(21:38 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 3 Dec 2009 21:38:10 +0000
(21:38 +0000)
adaptive quantization is enabled.
Fixes issue509.
Originally committed as revision 20726 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mpegvideo_enc.c
patch
|
blob
|
history
diff --git
a/libavcodec/mpegvideo_enc.c
b/libavcodec/mpegvideo_enc.c
index
9b4dad4
..
df4044f
100644
(file)
--- a/
libavcodec/mpegvideo_enc.c
+++ b/
libavcodec/mpegvideo_enc.c
@@
-2704,6
+2704,8
@@
static int estimate_qp(MpegEncContext *s, int dry_run){
if (CONFIG_H263_ENCODER)
ff_clean_h263_qscales(s);
break;
+ default:
+ ff_init_qscale_tab(s);
}
s->lambda= s->lambda_table[0];