if (resampled_frames < 0) {
char buf[256];
av_strerror (resampled_frames, buf, sizeof(buf));
throw EncodeError (String::compose (_("could not run sample-rate converter for %1 samples (%2) (%3)"), in->frames(), resampled_frames, buf));
}
if (resampled_frames < 0) {
char buf[256];
av_strerror (resampled_frames, buf, sizeof(buf));
throw EncodeError (String::compose (_("could not run sample-rate converter for %1 samples (%2) (%3)"), in->frames(), resampled_frames, buf));
}