Hi,

2011/6/20 Jindřich Makovička <[email protected]>:
> Hi,
>
> I am encountering frequent crashes with current libav when encoding
> live MPEG2 streams. This seems to be caused by the recent
> multithreading changes in error_resilience.c.
>
> The problem is, that after the ff_thread_await_progress, picture's
> motion_val and ref_index can still sometimes be NULL, which causes the
> segfault. I tried to add a simple sanity check (attached) which solves
> the problem here, but I don't know if it's a proper solution.
>
> Sample mpeg-ts stream: http://geraldine.fjfi.cvut.cz/~makovicka/stream.dump
>
> To reproduce: ./ffmpeg -y -i stream.dump out.mpg

Yeah this looks broken. I think the better thing is to not use the
last picture MVs if not available, so let me send a slightly different
patch that does that.

Ronald
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to