diff shorten.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 e943e1409077
children 4525dcd81357
line wrap: on
line diff
--- a/shorten.c	Wed Jul 30 18:21:51 2008 +0000
+++ b/shorten.c	Thu Jul 31 10:47:31 2008 +0000
@@ -104,6 +104,7 @@
 {
     ShortenContext *s = avctx->priv_data;
     s->avctx = avctx;
+    avctx->sample_fmt = SAMPLE_FMT_S16;
 
     return 0;
 }