comparison wmaenc.c @ 7451:85ab7655ad4d libavcodec

Modify all codecs to report their supported input and output sample format(s).
author pross
date Thu, 31 Jul 2008 10:47:31 +0000
parents e943e1409077
children 97383e012cb9
comparison
equal deleted inserted replaced
7450:30d38a880fde 7451:85ab7655ad4d
385 CODEC_ID_WMAV1, 385 CODEC_ID_WMAV1,
386 sizeof(WMACodecContext), 386 sizeof(WMACodecContext),
387 encode_init, 387 encode_init,
388 encode_superframe, 388 encode_superframe,
389 ff_wma_end, 389 ff_wma_end,
390 .sample_fmts = (enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE},
390 .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 1"), 391 .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 1"),
391 }; 392 };
392 393
393 AVCodec wmav2_encoder = 394 AVCodec wmav2_encoder =
394 { 395 {
397 CODEC_ID_WMAV2, 398 CODEC_ID_WMAV2,
398 sizeof(WMACodecContext), 399 sizeof(WMACodecContext),
399 encode_init, 400 encode_init,
400 encode_superframe, 401 encode_superframe,
401 ff_wma_end, 402 ff_wma_end,
403 .sample_fmts = (enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE},
402 .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 2"), 404 .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 2"),
403 }; 405 };