comparison wavpack.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 f11197441364
comparison
equal deleted inserted replaced
7450:30d38a880fde 7451:85ab7655ad4d
358 { 358 {
359 WavpackContext *s = avctx->priv_data; 359 WavpackContext *s = avctx->priv_data;
360 360
361 s->avctx = avctx; 361 s->avctx = avctx;
362 s->stereo = (avctx->channels == 2); 362 s->stereo = (avctx->channels == 2);
363 avctx->sample_fmt = SAMPLE_FMT_S16;
363 364
364 return 0; 365 return 0;
365 } 366 }
366 367
367 static int wavpack_decode_frame(AVCodecContext *avctx, 368 static int wavpack_decode_frame(AVCodecContext *avctx,