comparison apedec.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 87b1dfb5a98d
children 20b105281e87
comparison
equal deleted inserted replaced
7450:30d38a880fde 7451:85ab7655ad4d
196 break; 196 break;
197 s->filterbuf[i] = av_malloc((ape_filter_orders[s->fset][i] * 3 + HISTORY_SIZE) * 4); 197 s->filterbuf[i] = av_malloc((ape_filter_orders[s->fset][i] * 3 + HISTORY_SIZE) * 4);
198 } 198 }
199 199
200 dsputil_init(&s->dsp, avctx); 200 dsputil_init(&s->dsp, avctx);
201 avctx->sample_fmt = SAMPLE_FMT_S16;
201 return 0; 202 return 0;
202 } 203 }
203 204
204 static av_cold int ape_decode_close(AVCodecContext * avctx) 205 static av_cold int ape_decode_close(AVCodecContext * avctx)
205 { 206 {