nellymoserenc: Declare the supported sample format
authorMartin Storsjö <martin@martin.st>
Wed, 28 Jul 2010 05:19:42 +0000 (05:19 +0000)
committerMartin Storsjö <martin@martin.st>
Wed, 28 Jul 2010 05:19:42 +0000 (05:19 +0000)
Originally committed as revision 24560 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/nellymoserenc.c

index 85e0173..a596926 100644 (file)
@@ -392,4 +392,5 @@ AVCodec nellymoser_encoder = {
     .close = encode_end,
     .capabilities = CODEC_CAP_SMALL_LAST_FRAME | CODEC_CAP_DELAY,
     .long_name = NULL_IF_CONFIG_SMALL("Nellymoser Asao"),
+    .sample_fmts = (const enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE},
 };