From fd76c37fd9f564b4e979fbe20ecfcfad13f8b4f4 Mon Sep 17 00:00:00 2001 From: Peter Ross Date: Thu, 31 Jul 2008 10:47:31 +0000 Subject: 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 --- libavcodec/sonic.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/sonic.c') diff --git a/libavcodec/sonic.c b/libavcodec/sonic.c index 9d594efd7f..60d36a5891 100644 --- a/libavcodec/sonic.c +++ b/libavcodec/sonic.c @@ -828,6 +828,7 @@ static av_cold int sonic_decode_init(AVCodecContext *avctx) } s->int_samples = av_mallocz(4* s->frame_size); + avctx->sample_fmt = SAMPLE_FMT_S16; return 0; } -- cgit v1.2.3