Browse Source

libvo-*: Don't use deprecated sample format names and enum names

Signed-off-by: Martin Storsjö <martin@martin.st>
tags/n0.8
Martin Storsjö 14 years ago
parent
commit
c5e03cebd3
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      libavcodec/libvo-aacenc.c
  2. +1
    -1
      libavcodec/libvo-amrwbenc.c

+ 1
- 1
libavcodec/libvo-aacenc.c View File

@@ -122,7 +122,7 @@ AVCodec ff_libvo_aacenc_encoder = {
aac_encode_frame, aac_encode_frame,
aac_encode_close, aac_encode_close,
NULL, NULL,
.sample_fmts = (const enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE},
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
.long_name = NULL_IF_CONFIG_SMALL("libvo-aacenc AAC"), .long_name = NULL_IF_CONFIG_SMALL("libvo-aacenc AAC"),
}; };



+ 1
- 1
libavcodec/libvo-amrwbenc.c View File

@@ -120,7 +120,7 @@ AVCodec ff_libvo_amrwbenc_encoder = {
amr_wb_encode_frame, amr_wb_encode_frame,
amr_wb_encode_close, amr_wb_encode_close,
NULL, NULL,
.sample_fmts = (const enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE},
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
.long_name = NULL_IF_CONFIG_SMALL("libvo-amrwbenc Adaptive Multi-Rate " .long_name = NULL_IF_CONFIG_SMALL("libvo-amrwbenc Adaptive Multi-Rate "
"(AMR) Wide-Band"), "(AMR) Wide-Band"),
}; };


Loading…
Cancel
Save