mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-06 22:25:36 +01:00
Make Musepack decoders use LFG pseudorandom generator
Originally committed as revision 17880 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
#ifndef AVCODEC_MPC_H
|
||||
#define AVCODEC_MPC_H
|
||||
|
||||
#include "libavutil/random.h"
|
||||
#include "libavutil/lfg.h"
|
||||
#include "avcodec.h"
|
||||
#include "bitstream.h"
|
||||
#include "dsputil.h"
|
||||
@@ -62,7 +62,7 @@ typedef struct {
|
||||
int cur_frame, frames;
|
||||
uint8_t *bits;
|
||||
int buf_size;
|
||||
AVRandomState rnd;
|
||||
AVLFG rnd;
|
||||
int frames_to_skip;
|
||||
/* for synthesis */
|
||||
DECLARE_ALIGNED_16(MPA_INT, synth_buf[MPA_MAX_CHANNELS][512*2]);
|
||||
|
||||
Reference in New Issue
Block a user