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