1
0
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:
Zane van Iperen 2020-10-14 22:56:49 +10:00
parent e368be5230
commit bf4a253f38
No known key found for this signature in database
GPG Key ID: 68616B2D8AC4DCC5
2 changed files with 1 additions and 3 deletions

View File

@ -28,8 +28,6 @@
#include <stdint.h>
#define BLKSIZE 1024
typedef struct ADPCMChannelStatus {
int predictor;
int16_t step_index;

View File

@ -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