comparison ws-snd1.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 2acf0ae7b041
comparison
equal deleted inserted replaced
7450:30d38a880fde 7451:85ab7655ad4d
38 38
39 static av_cold int ws_snd_decode_init(AVCodecContext * avctx) 39 static av_cold int ws_snd_decode_init(AVCodecContext * avctx)
40 { 40 {
41 // WSSNDContext *c = avctx->priv_data; 41 // WSSNDContext *c = avctx->priv_data;
42 42
43 avctx->sample_fmt = SAMPLE_FMT_S16;
43 return 0; 44 return 0;
44 } 45 }
45 46
46 static int ws_snd_decode_frame(AVCodecContext *avctx, 47 static int ws_snd_decode_frame(AVCodecContext *avctx,
47 void *data, int *data_size, 48 void *data, int *data_size,