[FFmpeg-devel] [PATCH 4/6] lavc: support multiple frames in a singe AVPacket in avcodec_decode_subtitle2

Michael Niedermayer michaelni at gmx.at
Wed Oct 16 19:15:54 CEST 2013


On Wed, Oct 16, 2013 at 02:09:34AM +0200, Marton Balint wrote:
> 
> On Tue, 15 Oct 2013, Clément Bœsch wrote:
> 
> >On Sat, Oct 05, 2013 at 07:34:56PM +0200, Marton Balint wrote:
[...]
> By the way, to fight infinite loops in decoders shouldn't we state
> that consuming 0 bytes and returning no frames should never happen
> for ordinary packets and we should check for that in
> avcodec_decode_subtitle3 and return an error if it does?

this sounds reasonable, unless iam missing something
(and for more than just subtitles)

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many things microsoft did are stupid, but not doing something just because
microsoft did it is even more stupid. If everything ms did were stupid they
would be bankrupt already.
-------------- 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/20131016/2e9223fd/attachment.asc>


More information about the ffmpeg-devel mailing list