diff mlpdec.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 e3822c61f2e4
children 88ffd7c9c0ed
line wrap: on
line diff
--- a/mlpdec.c	Wed Jul 30 18:21:51 2008 +0000
+++ b/mlpdec.c	Thu Jul 31 10:47:31 2008 +0000
@@ -336,6 +336,7 @@
     m->avctx = avctx;
     for (substr = 0; substr < MAX_SUBSTREAMS; substr++)
         m->substream[substr].lossless_check_data = 0xffffffff;
+    avctx->sample_fmt = SAMPLE_FMT_S16;
     return 0;
 }