comparison mace.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 c372b8d5abfb
comparison
equal deleted inserted replaced
7450:30d38a880fde 7451:85ab7655ad4d
394 394
395 static av_cold int mace_decode_init(AVCodecContext * avctx) 395 static av_cold int mace_decode_init(AVCodecContext * avctx)
396 { 396 {
397 if (avctx->channels > 2) 397 if (avctx->channels > 2)
398 return -1; 398 return -1;
399 avctx->sample_fmt = SAMPLE_FMT_S16;
399 return 0; 400 return 0;
400 } 401 }
401 402
402 static int mace_decode_frame(AVCodecContext *avctx, 403 static int mace_decode_frame(AVCodecContext *avctx,
403 void *data, int *data_size, 404 void *data, int *data_size,