> For PCM codecs, frame_size is 0 and calling > av_samples_get_buffer_size() makes no sense. > av_samples_get_buffer_size() returns AVERROR(EINVAL) > which happens to be "-22". Thanks Carl! This is immensely helpful!