On Tue, Feb 18, 2020 at 18:41:08 +0330, Mostafa Namazi fard wrote: > I found this patch useful for prevent crash in http live stream. > I'm using ffmpeg in my application for show http live when remote address > send invalid data ffmpeg crash in this part and after my change it was > fixed.
Can you post a reproducible example? Actually, it's preferred you open a bug report for this. This should include a backtrace, as explained here: https://ffmpeg.org/bugreports.html > if (pls->needed && !pls->pkt.data) { > - while (1) { > + while (pls->ctx) { As far as I can tell, pls->ctx should never turn NULL in this loop. I believe you are just hiding a different root cause. Regards, Moritz _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".