[FFmpeg-devel] [PATCH] codec_has_pameters and sample_fmt

Baptiste Coudurier baptiste.coudurier
Fri Aug 29 22:08:50 CEST 2008


Hi

I think codec_has_parameters should return true only if sample_fmt has
been determined for audio codecs.

It seems libavcodec still sets it to S16 atm, so it does no harm,
however this will be needed.

I missed a bit this thread, but when will avcodec set sample_fmt to NONE
by default ?

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Smartjog USA Inc.                                http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample_fmt_needed.patch
Type: text/x-diff
Size: 534 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080829/51d80b9d/attachment.patch>



More information about the ffmpeg-devel mailing list