Mercurial > libavcodec.hg
comparison truespeech.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 |
---|---|
52 | 52 |
53 static av_cold int truespeech_decode_init(AVCodecContext * avctx) | 53 static av_cold int truespeech_decode_init(AVCodecContext * avctx) |
54 { | 54 { |
55 // TSContext *c = avctx->priv_data; | 55 // TSContext *c = avctx->priv_data; |
56 | 56 |
57 avctx->sample_fmt = SAMPLE_FMT_S16; | |
57 return 0; | 58 return 0; |
58 } | 59 } |
59 | 60 |
60 static void truespeech_read_frame(TSContext *dec, const uint8_t *input) | 61 static void truespeech_read_frame(TSContext *dec, const uint8_t *input) |
61 { | 62 { |