mirror of https://git.ffmpeg.org/ffmpeg.git
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>
|
#include <stdint.h>
|
||||||
|
|
||||||
#define BLKSIZE 1024
|
|
||||||
|
|
||||||
typedef struct ADPCMChannelStatus {
|
typedef struct ADPCMChannelStatus {
|
||||||
int predictor;
|
int predictor;
|
||||||
int16_t step_index;
|
int16_t step_index;
|
||||||
|
|
|
@ -857,7 +857,7 @@ static const AVOption options[] = {
|
||||||
.help = "set the block size",
|
.help = "set the block size",
|
||||||
.offset = offsetof(ADPCMEncodeContext, block_size),
|
.offset = offsetof(ADPCMEncodeContext, block_size),
|
||||||
.type = AV_OPT_TYPE_INT,
|
.type = AV_OPT_TYPE_INT,
|
||||||
.default_val = {.i64 = BLKSIZE},
|
.default_val = {.i64 = 1024},
|
||||||
.min = 32,
|
.min = 32,
|
||||||
.max = 8192, /* Is this a reasonable upper limit? */
|
.max = 8192, /* Is this a reasonable upper limit? */
|
||||||
.flags = AV_OPT_FLAG_ENCODING_PARAM | AV_OPT_FLAG_AUDIO_PARAM
|
.flags = AV_OPT_FLAG_ENCODING_PARAM | AV_OPT_FLAG_AUDIO_PARAM
|
||||||
|
|
Loading…
Reference in New Issue