mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/adpcmenc: remove BLKSIZE #define
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
This commit is contained in:
parent
e368be5230
commit
bf4a253f38
@ -28,8 +28,6 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define BLKSIZE 1024
|
||||
|
||||
typedef struct ADPCMChannelStatus {
|
||||
int predictor;
|
||||
int16_t step_index;
|
||||
|
@ -857,7 +857,7 @@ static const AVOption options[] = {
|
||||
.help = "set the block size",
|
||||
.offset = offsetof(ADPCMEncodeContext, block_size),
|
||||
.type = AV_OPT_TYPE_INT,
|
||||
.default_val = {.i64 = BLKSIZE},
|
||||
.default_val = {.i64 = 1024},
|
||||
.min = 32,
|
||||
.max = 8192, /* Is this a reasonable upper limit? */
|
||||
.flags = AV_OPT_FLAG_ENCODING_PARAM | AV_OPT_FLAG_AUDIO_PARAM
|
||||
|
Loading…
Reference in New Issue
Block a user