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:
aeaef4e
)
cook: use constant seed for dithering RNG
author
Måns Rullgård
<mans@mansr.com>
Sun, 29 Nov 2009 15:15:50 +0000
(15:15 +0000)
committer
Måns Rullgård
<mans@mansr.com>
Sun, 29 Nov 2009 15:15:50 +0000
(15:15 +0000)
Originally committed as revision 20657 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/cook.c
patch
|
blob
|
history
diff --git
a/libavcodec/cook.c
b/libavcodec/cook.c
index
1f62af2
..
6dec256
100644
(file)
--- a/
libavcodec/cook.c
+++ b/
libavcodec/cook.c
@@
-1101,7
+1101,7
@@
static av_cold int cook_decode_init(AVCodecContext *avctx)
q->bit_rate = avctx->bit_rate;
/* Initialize RNG. */
- av_lfg_init(&q->random_state,
ff_random_get_seed()
);
+ av_lfg_init(&q->random_state,
0
);
while(edata_ptr < edata_ptr_end){
/* 8 for mono, 16 for stereo, ? for multichannel