diff options
author | Martin Storsjö <martin@martin.st> | 2011-04-12 10:32:43 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2011-04-12 12:38:37 +0300 |
commit | c41eb2ade4f862dc5f5e7c09c717d4f7f911a15e (patch) | |
tree | 68e39090ce736c9ddbe6e1ee7da5b28a5b968612 /libavcodec/g722.c | |
parent | 2f072b55a49eb56b1bcffdda344f21d09981430b (diff) | |
download | ffmpeg-c41eb2ade4f862dc5f5e7c09c717d4f7f911a15e.tar.gz |
libavcodec: Use "const enum AVSampleFormat[]" in AVCodec initialization
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/g722.c')
-rw-r--r-- | libavcodec/g722.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/g722.c b/libavcodec/g722.c index 422a1343ba..257292de7f 100644 --- a/libavcodec/g722.c +++ b/libavcodec/g722.c @@ -577,7 +577,7 @@ AVCodec ff_adpcm_g722_encoder = { .close = g722_close, .encode = g722_encode_frame, .long_name = NULL_IF_CONFIG_SMALL("G.722 ADPCM"), - .sample_fmts = (enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE}, + .sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE}, }; #endif |