diff options
author | Peter Ross <pross@xvid.org> | 2008-07-31 14:47:31 +0400 |
---|---|---|
committer | Peter Ross <pross@xvid.org> | 2008-07-31 14:47:31 +0400 |
commit | fd76c37fd9f564b4e979fbe20ecfcfad13f8b4f4 (patch) | |
tree | e391aec76fcfa666a50c7ccce172ff7a8d140da9 /libavcodec/alac.c | |
parent | c8fd5da42fffc92268a0e23335af36580f2a2a4b (diff) |
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
Diffstat (limited to 'libavcodec/alac.c')
-rw-r--r-- | libavcodec/alac.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/alac.c b/libavcodec/alac.c index 6815fa1aea..cb710a6346 100644 --- a/libavcodec/alac.c +++ b/libavcodec/alac.c @@ -594,6 +594,7 @@ static av_cold int alac_decode_init(AVCodecContext * avctx) alac->numchannels = alac->avctx->channels; alac->bytespersample = (avctx->bits_per_sample / 8) * alac->numchannels; + avctx->sample_fmt = SAMPLE_FMT_S16; return 0; } |