[FFmpeg-devel] delayed_pic crash
Ratin
ratin3 at gmail.com
Wed Aug 31 14:40:27 CEST 2011
Hi Michael, It happens in chaotic networking conditions and could
take upto several hours before it could happen. I think if I capture
the packets it will be several hundred gigs :). May be I can count
delayed buffer usage and as soon as it hits total count - 1 or
something, I can start dumping raw h.264 packets. Question is will it
be re-producable while streaming from a file. I will let you know
soon.
Thanks
On Tue, Aug 30, 2011 at 8:23 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> 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
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iEYEARECAAYFAk5dqSEACgkQYR7HhwQLD6s/fQCfXKmTgkvrkUV4SbxmJaUHL6al
> DIcAnjK5l/3UfWZNOI7ion81DEWYXQQ/
> =zaCN
> -----END PGP SIGNATURE-----
>
>
More information about the ffmpeg-devel
mailing list