[FFmpeg-devel] [PATCH] rmdec: fix crash in case of oom

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Jul 10 21:45:21 CEST 2013


Piotr Bandurski <ami_stuff <at> o2.pl> writes:

>      if(++vst->cur_slice > vst->slices)
>          return 1;
> +    if(!vst->pkt.data)
> +        return AVERROR(ENOMEM);

I believe the relevant question is:
Why is vst->pkt.data NULL?
(I was so far unable to find out.)

Carl Eugen



More information about the ffmpeg-devel mailing list