diff sonic.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 322023e630a6
children dbcdd0165e55
line wrap: on
line diff
--- a/sonic.c	Wed Jul 30 18:21:51 2008 +0000
+++ b/sonic.c	Thu Jul 31 10:47:31 2008 +0000
@@ -828,6 +828,7 @@
     }
     s->int_samples = av_mallocz(4* s->frame_size);
 
+    avctx->sample_fmt = SAMPLE_FMT_S16;
     return 0;
 }