[FFmpeg-cvslog] r20657 - trunk/libavcodec/cook.c

mru subversion
Sun Nov 29 16:15:50 CET 2009


Author: mru
Date: Sun Nov 29 16:15:50 2009
New Revision: 20657

Log:
cook: use constant seed for dithering RNG

Modified:
   trunk/libavcodec/cook.c

Modified: trunk/libavcodec/cook.c
==============================================================================
--- trunk/libavcodec/cook.c	Sun Nov 29 15:31:40 2009	(r20656)
+++ trunk/libavcodec/cook.c	Sun Nov 29 16:15:50 2009	(r20657)
@@ -1101,7 +1101,7 @@ static av_cold int cook_decode_init(AVCo
     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



More information about the ffmpeg-cvslog mailing list