diff alac.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 e1ed057dc7c3
children 6fe7ff34a4db
line wrap: on
line diff
--- a/alac.c	Wed Jul 30 18:21:51 2008 +0000
+++ b/alac.c	Thu Jul 31 10:47:31 2008 +0000
@@ -594,6 +594,7 @@
 
     alac->numchannels = alac->avctx->channels;
     alac->bytespersample = (avctx->bits_per_sample / 8) * alac->numchannels;
+    avctx->sample_fmt = SAMPLE_FMT_S16;
 
     return 0;
 }