Mercurial > libavcodec.hg
comparison mlpdec.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 | e3822c61f2e4 |
children | 88ffd7c9c0ed |
comparison
equal
deleted
inserted
replaced
7450:30d38a880fde | 7451:85ab7655ad4d |
---|---|
334 | 334 |
335 init_static(); | 335 init_static(); |
336 m->avctx = avctx; | 336 m->avctx = avctx; |
337 for (substr = 0; substr < MAX_SUBSTREAMS; substr++) | 337 for (substr = 0; substr < MAX_SUBSTREAMS; substr++) |
338 m->substream[substr].lossless_check_data = 0xffffffff; | 338 m->substream[substr].lossless_check_data = 0xffffffff; |
339 avctx->sample_fmt = SAMPLE_FMT_S16; | |
339 return 0; | 340 return 0; |
340 } | 341 } |
341 | 342 |
342 /** Read a major sync info header - contains high level information about | 343 /** Read a major sync info header - contains high level information about |
343 * the stream - sample rate, channel arrangement etc. Most of this | 344 * the stream - sample rate, channel arrangement etc. Most of this |