[FFmpeg-devel] [PATCH 2/2] Set skip_end_samples when decoding LAME MP3s

Michael Niedermayer michaelni at gmx.at
Wed Oct 10 04:29:47 CEST 2012


On Tue, Oct 09, 2012 at 07:26:15PM -0600, Michael Bradshaw wrote:
> On Tue, Oct 9, 2012 at 1:19 PM, Michael Niedermayer <michaelni at gmx.at>wrote:
> 
> > On Tue, Oct 09, 2012 at 10:33:24AM -0600, Michael Bradshaw wrote:
> > > Hi,
> > >
> > > Please review attached patch.
> >
> > these 2 patches are fine once they are needed / do something
> > ATM they just add a field and write into that, nothing reads this
> > field though
> 
> 
> Ok. Out of curiosity, if I'm using the C API and want the padding stripped
> (or at least be able to know how much padding there is so I can strip it
> myself), is there a way to do that? Is there a better way than this patch?

the data could be transfered out of lavf through packet side data like
its done with the start skip stuff. thats accessable through C api
as well as a lavc decoder.
the private field in AVStream should not be relied upon from external
applications

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Old school: Use the lowest level language in which you can solve the problem
            conveniently.
New school: Use the highest level language in which the latest supercomputer
            can solve the problem without the user falling asleep waiting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121010/4bc4f33c/attachment.asc>


More information about the ffmpeg-devel mailing list