2017-11-15 10:04 GMT+01:00 Zhong Li <[email protected]>: > fix the compiling warning of "ignoring return value"
> - ff_formats_ref(in_fmts, &ctx->inputs[0]->out_formats); > - ff_formats_ref(out_fmts, &ctx->outputs[0]->in_formats); > + if ((ret = ff_formats_ref(in_fmts, &ctx->inputs[0]->out_formats)) < 0) > + return ret; > + if ((ret = ff_formats_ref(out_fmts, &ctx->outputs[0]->in_formats)) < 0) Two additional lines are cheap. Carl Eugen _______________________________________________ ffmpeg-devel mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
