Le quartidi 24 ventôse, an CCXXIII, Michael Niedermayer a écrit : > ff_set_common_channel_layouts(ctx, ff_all_channel_layouts()); > ff_set_common_formats(ctx, ff_make_format_list(sample_fmts)); > ff_set_common_samplerates(ctx, ff_all_samplerates()); > > return ctx->ff_errno;
I wanted to suggest something along this line too. Since the functions are private and can be changed, I suspect the error code would be better carried around in a value passed as argument. Regards, -- Nicolas George
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel