On Fri, 31 Jan 2014 13:02:52 -0500 Tristan Matthews <[email protected]> wrote:
> -int av_samples_get_buffer_size(int *linesize, int nb_channels, int > nb_samples, > +int av_samples_get_buffer_size(int *linesize, unsigned nb_channels, > + unsigned nb_samples, > enum AVSampleFormat sample_fmt, int align) Shouldn't sample counts use size_t technically speaking? They are a quantity only limited by memory. Also, AVFrame.nb_samples is int, so there are some other things that might need fixing. Using int instead of size_t actually leads to nasty issues elsewhere, such as not being able to handle very big but realistic image sizes. _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
