2017-10-30 23:35 GMT+01:00 Mark Thompson <s...@jkqxz.net>: > On 30/10/17 21:30, Mironov, Mikhail wrote: >>>> +static void AMF_CDECL_CALL AMFTraceWriter_Write(AMFTraceWriter >>> *pThis, >>>> + const wchar_t *scope, const wchar_t *message) >>>> +{ >>>> + AmfTraceWriter *tracer = (AmfTraceWriter*)pThis; >>>> + av_log(tracer->avctx, AV_LOG_DEBUG, "%ls: %ls", scope, message); >>> >>> Does the message necessarily include a newline already? >> >> Yes. >> >>>> + init_fun = (AMFInit_Fn)dlsym(ctx->library, >>> AMF_INIT_FUNCTION_NAME); >>>> + AMF_RETURN_IF_FALSE(ctx, init_fun != NULL, AVERROR_UNKNOWN, >>> "DLL %s failed to find function %s. \n", AMF_DLL_NAMEA, >>> AMF_INIT_FUNCTION_NAME); >>> >>> I think do s/ \n/\n/ for all of these messages. >> >> Sorry, didn't get this. > > Most of your messages end with a space before the newline, > the space probably shouldn't be there.
Correct: While I like the space, it shouldn't be there for consistency. Carl Eugen _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel