[FFmpeg-devel] new patch
Moritz Barsnick
barsnick at gmx.net
Mon Mar 30 15:28:51 EEST 2020
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
More information about the ffmpeg-devel
mailing list