Open forthrin opened 1 week ago
@Dudemanguy any idea on this one. pinging you since you were the last one looking at that part of the code, i believe.
Not sure about this one. Seems like an obscure race of sorts? It looks like you manage to hit the redecode path while quitting which shouldn't matter but something is going wrong somewhere. The packet is detected as seen which means it should have been been added ctx->packets_animated
already but it seems it wasn't and overflows. I tried some naive attempts at replicating redecoding while quitting and no dice.
Although we are probably redecoding packets more than necessary now that I look at this again.
Not a fix but with #15094, the code path you took to trigger this crash won't happen anymore for the vast majority of files.
mpv Information
Other Information
Reproduction Steps
https://github.com/mpv-player/mpv/blob/master/sub/sd_ass.c#L379
Expected Behavior
No crash
Actual Behavior
Crash
Log File
crash.log
Sample Files
N/A
I carefully read all instruction and confirm that I did the following:
--log-file=output.txt
.