Thanks for the comment. James Almer (12019-12-23): > > + frame_out = ff_get_audio_buffer(ctx->outputs[0], > > frame->nb_samples);
> Can't you use av_frame_make_writable() instead to simplify this? No, because it does not use ff_get_audio_buffer(), and therefore does not allow direct rendering. Also, it unnecessarily copies the data. I have already noted that this is a frequent pattern in filters that should be factored soon. Regards, -- Nicolas George
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".