diff options
author | Peter Ross <pross@xvid.org> | 2008-07-31 10:47:31 +0000 |
---|---|---|
committer | Peter Ross <pross@xvid.org> | 2008-07-31 10:47:31 +0000 |
commit | fd76c37fd9f564b4e979fbe20ecfcfad13f8b4f4 (patch) | |
tree | e391aec76fcfa666a50c7ccce172ff7a8d140da9 /libavcodec/mpegaudioenc.c | |
parent | c8fd5da42fffc92268a0e23335af36580f2a2a4b (diff) | |
download | ffmpeg-fd76c37fd9f564b4e979fbe20ecfcfad13f8b4f4.tar.gz |
Modify all codecs to report their supported input and output sample format(s).
Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegaudioenc.c')
-rw-r--r-- | libavcodec/mpegaudioenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mpegaudioenc.c b/libavcodec/mpegaudioenc.c index 07b5509401..c061d7f5cf 100644 --- a/libavcodec/mpegaudioenc.c +++ b/libavcodec/mpegaudioenc.c @@ -796,6 +796,7 @@ AVCodec mp2_encoder = { MPA_encode_frame, MPA_encode_close, NULL, + .sample_fmts = (enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE}, .long_name = NULL_IF_CONFIG_SMALL("MP2 (MPEG audio layer 2)"), }; |