Mercurial > libavcodec.hg
comparison dca.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 | dabe2516abe2 |
comparison
equal
deleted
inserted
replaced
7450:30d38a880fde | 7451:85ab7655ad4d |
---|---|
1251 if (avctx->channels > 0 && avctx->request_channels < avctx->channels && | 1251 if (avctx->channels > 0 && avctx->request_channels < avctx->channels && |
1252 avctx->request_channels == 2) { | 1252 avctx->request_channels == 2) { |
1253 avctx->channels = avctx->request_channels; | 1253 avctx->channels = avctx->request_channels; |
1254 } | 1254 } |
1255 | 1255 |
1256 avctx->sample_fmt = SAMPLE_FMT_S16; | |
1256 return 0; | 1257 return 0; |
1257 } | 1258 } |
1258 | 1259 |
1259 | 1260 |
1260 AVCodec dca_decoder = { | 1261 AVCodec dca_decoder = { |