On 08.03.2015, at 19:15, Rainer Hochecker <fernetme...@online.de> wrote: > Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes: > > I tried this patch with Kodi but did not get very far. > > int ff_thread_can_start_frame(AVCodecContext *avctx) > { > PerThreadContext *p = avctx->internal->thread_ctx; > if (avctx->active_thread_type&FF_THREAD_FRAME) > return 0; > av_assert0(!p->main_thread); > > It hit this assert and call stack showed avformat_find_stream_info
This was the buggy first version, please see patch from march 2nd. I have another fix locally that also fixes potential hangs with corrupted streams in addition, but the newer version should work. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel