[FFmpeg-devel] [PATCH 2/6] mpeg: add experimental support for PSMF audio.

Michael Niedermayer michael at niedermayer.cc
Wed Dec 27 02:51:43 EET 2017

On Tue, Dec 26, 2017 at 10:24:07AM +0800, Misty De Meo wrote:
> On Tue, Dec 26, 2017 at 8:42 AM, Michael Niedermayer
> <michael at niedermayer.cc> wrote:
> > returning errors from the parse function will cause assertion failure at:
> >
> > Assertion index > -0x20000000 failed at libavcodec/parser.c:185
> >
> > [...]
> What would be the preferred way to handle that?

parsers should not loose data, so when they are unable to determine
frame boarders they should return the data with no byte removed or added
and frame boarders placed on a best effort basis.

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171227/887f76b4/attachment.sig>

More information about the ffmpeg-devel mailing list