Brendan McGrath (@redmcg) commented about dlls/winedmo/unix_demuxer.c:
} format = demuxer->ctx->iformat;
- if ((params->duration = get_context_duration( demuxer->ctx )) == AV_NOPTS_VALUE)
- if ((params->duration = get_context_duration( demuxer->ctx )) == AV_NOPTS_VALUE ||
{ if ((ret = avformat_find_stream_info( demuxer->ctx, NULL )) < 0) { ERR( "Failed to find stream info, error %s.\n", debugstr_averr(ret) ); goto failed; }strstr( format->name, "mp3"))
params->duration = get_context_duration( demuxer->ctx );
if (params->duration == AV_NOPTS_VALUE)
params->duration = get_context_duration( demuxer->ctx );
@rbernon I wasn't sure how harmless/harmful this assignment was, so I added a check just in case. If you think it's unnecessary I'll remove.