Mercurial > libavcodec.hg
comparison mpegaudioenc.c @ 11654:fe105c6d28c7 libavcodec
Set .supported_samplerates for mpeg audio encoders.
author | michael |
---|---|
date | Thu, 22 Apr 2010 09:41:45 +0000 |
parents | 7dd2a45249a9 |
children | f6ae68a7b1fd |
comparison
equal
deleted
inserted
replaced
11653:28638e0d6e63 | 11654:fe105c6d28c7 |
---|---|
796 MPA_encode_init, | 796 MPA_encode_init, |
797 MPA_encode_frame, | 797 MPA_encode_frame, |
798 MPA_encode_close, | 798 MPA_encode_close, |
799 NULL, | 799 NULL, |
800 .sample_fmts = (const enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE}, | 800 .sample_fmts = (const enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE}, |
801 .supported_samplerates= (const int[]){44100, 48000, 32000, 22050, 24000, 16000, 0}, | |
801 .long_name = NULL_IF_CONFIG_SMALL("MP2 (MPEG audio layer 2)"), | 802 .long_name = NULL_IF_CONFIG_SMALL("MP2 (MPEG audio layer 2)"), |
802 }; | 803 }; |
803 | 804 |
804 #undef FIX | 805 #undef FIX |