[FFmpeg-devel] [PATCH] Simplify pcm.c
pross at xvid.org
pross
Sun Aug 3 06:16:37 CEST 2008
$subject.
add-pcm_zork-to-utils.diff
Make avcodec_string() and av_get_bits_per_sample() report the
sample size for CODEC_ID_PCM_ZORK.
pcm-simplify-part1.diff
Use sample_fmts field to set the avctx->sample_fmt field.
pcm-simplify-part2.diff
Replace switch() statements with av_get_bits_per_sample().
(this relies on add-pcm_zork-to-utils.diff being applied)
And yes, these all pass the earlier posted PCM regression tests...
Cheers,
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-pcm_zork-to-utils.diff
Type: text/x-diff
Size: 638 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080803/32e3f911/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pcm-simplify-part1.diff
Type: text/x-diff
Size: 2386 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080803/32e3f911/attachment-0001.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pcm-simplify-part2.diff
Type: text/x-diff
Size: 2095 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080803/32e3f911/attachment-0002.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080803/32e3f911/attachment.pgp>
More information about the ffmpeg-devel
mailing list