[FFmpeg-devel] [PATCH] IFF demuxer and 8SVX decoder

Jai Menon realityman
Mon Mar 31 00:39:24 CEST 2008


On Sunday 30 March 2008 17:09:52 Michael Niedermayer wrote:
> On Sun, Mar 30, 2008 at 08:41:00PM +0000, Jai Menon wrote:
> > On Sunday 30 March 2008 15:02:05 Michael Niedermayer wrote:
> > > On Sun, Mar 30, 2008 at 07:05:39PM +0000, Jai Menon wrote:
> > > [...]
> > >
> > > > +static int iff_read_packet(AVFormatContext *s,
> > > > +                           AVPacket *pkt)
> > > > +{
> > > > +    IffDemuxContext *iff = s->priv_data;
> > > > +    ByteIOContext *pb = s->pb;
> > > > +    int ret;
> > > > +
> > > > +    if(iff->sent_bytes == 0)
> > > > +        pkt->flags |= PKT_FLAG_KEY;
> > > > +
> > > > +    if(iff->sent_bytes > iff->body_size)
> > > > +        return AVERROR(EIO);
> > > > +    ret = av_get_packet(pb, pkt, PACKET_SIZE);
> > >
> > > Flags will be 0 here, even for the first packet.
> >
> > fixed....sorry very silly mistake/too much guinness :-)
>
> looks ok

thanks.....so can somebody commit it then.....day 7 ends in about 2 hrs for 
me ;-)


Regards
Jai Menon
<realityman at gmx.net>





More information about the ffmpeg-devel mailing list