On 6/19/2014 1:02 PM, Nidhi Makhijani wrote: > ret = avio_size(s->pb); > - if (ret > 0) > - vst->duration = (ret * vst->time_base.den) / (CDG_PACKET_SIZE * 300); > + if (ret < 0) > + return ret; > > + vst->duration = (ret * vst->time_base.den) / (CDG_PACKET_SIZE * 300); > return 0;
What exactly does this have to do with memory allocations? - Derek _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
