[FFmpeg-devel] [PATCH] initialize pkt-> data and pkt->size to NULL and zero

Michael Niedermayer michaelni
Mon May 3 19:09:35 CEST 2010


On Mon, May 03, 2010 at 09:55:27AM -0700, Thierry Foucu wrote:
> On Sat, May 1, 2010 at 2:03 AM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> 
> > Thierry Foucu <tfoucu <at> gmail.com> writes:
> >
> > > Here is the issue I found when debugging a AVI file:
> >
> > Could you upload the sample to ftp://ffmpeg.org/MPlayer/incoming/(write-only)
> > and post the file-name here?
> >
> >
> I wish I could upload the file, but not sure legally i can.
> 
> Is there any reason why the pkt->data and pkt->size are not set when we call
>  av_init_packet ?

you wouldnt have found this bug where they set to 0

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100503/1c063982/attachment.pgp>



More information about the ffmpeg-devel mailing list