[FFmpeg-devel] [PATCH] Native VP9 decoder.

Michael Niedermayer michaelni at gmx.at
Tue Oct 1 20:31:47 CEST 2013


On Mon, Sep 30, 2013 at 11:03:17PM -0400, Ronald S. Bultje wrote:
> Hi,
> 
> On Mon, Sep 30, 2013 at 8:15 AM, Derek Buitenhuis <
> derek.buitenhuis at gmail.com> wrote:
[...]

> > > +static int vp9_decode_packet(AVCodecContext *avctx, void *out_pic,
> > > +                             int *got_frame, AVPacket *avpkt)
> > > +{
> >
> > [...]
> >
> > > +    // read superframe index - this is a collection of individual
> > frames that
> > > +    // together lead to one visible frame
> > > +    if (size <= 0)
> > > +        return AVERROR_INVALIDDATA;
> >
> > Is it not guaranteed to have a non-zero packet?
> >
> 
> Not sure, Michael?

without CODEC_CAP_DELAY 0 sized packets are currently not passed to
the decoder.
I dont know if that will always be true in the future

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

I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- 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/20131001/7b3b9ecb/attachment.asc>


More information about the ffmpeg-devel mailing list