[FFmpeg-devel] delayed_pic crash
Michael Niedermayer
michaelni at gmx.at
Wed Aug 31 05:23:13 CEST 2011
On Tue, Aug 23, 2011 at 01:21:51PM -0700, Ratin wrote:
> Also there seems to be uninitialized variables here:
>
> Picture *delayed_pic[MAX_DELAYED_PIC_COUNT+2]; //FIXME size?
>
> then:
>
> for(i=0; i<MAX_DELAYED_PIC_COUNT; i++) {
> if(h->delayed_pic[i])
> h->delayed_pic[i]->reference= 0;
> h->delayed_pic[i]= NULL;
>
> av_log(h->s.avctx, AV_LOG_ERROR, "\n\ninside flush_dpb:
> h->delayed_pic[i]: %x", h->delayed_pic[i]);
> }
>
>
> so there are couple of h->delayed_pic remains uninitialized
Should be fixed, also if you still have a crash please provide a
sample file/stream so we can reproduce and debug it
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- 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/20110831/0bb5282c/attachment.asc>
More information about the ffmpeg-devel
mailing list