Re: [FFmpeg-devel] [PATCH] avcodec/libx265: Don't copy A53 closed captions by default

2024-06-12 Thread Andreas Rheinhardt
Andreas Rheinhardt: > The SEI handling of libx265 is buggy and can easily lead > to memory corruption: It reuses certain buffers, but when > reusing them it presumes that it is enough for these buffers > to exist and does not check whether they are actually large > enough to hold what is intended t

Re: [FFmpeg-devel] [PATCH] avcodec/libx265: Don't copy A53 closed captions by default

2024-06-11 Thread Tomas Härdin
tis 2024-06-11 klockan 10:16 +0200 skrev Andreas Rheinhardt: > Tomas Härdin: > > tis 2024-06-11 klockan 10:05 +0200 skrev Andreas Rheinhardt: > > > Tomas Härdin: > > > > tis 2024-06-11 klockan 09:42 +0200 skrev Andreas Rheinhardt: > > > > > The SEI handling of libx265 is buggy and can easily lead >

Re: [FFmpeg-devel] [PATCH] avcodec/libx265: Don't copy A53 closed captions by default

2024-06-11 Thread Andreas Rheinhardt
Tomas Härdin: > tis 2024-06-11 klockan 10:05 +0200 skrev Andreas Rheinhardt: >> Tomas Härdin: >>> tis 2024-06-11 klockan 09:42 +0200 skrev Andreas Rheinhardt: The SEI handling of libx265 is buggy and can easily lead to memory corruption: It reuses certain buffers, but when reusing th

Re: [FFmpeg-devel] [PATCH] avcodec/libx265: Don't copy A53 closed captions by default

2024-06-11 Thread Tomas Härdin
tis 2024-06-11 klockan 10:05 +0200 skrev Andreas Rheinhardt: > Tomas Härdin: > > tis 2024-06-11 klockan 09:42 +0200 skrev Andreas Rheinhardt: > > > The SEI handling of libx265 is buggy and can easily lead > > > to memory corruption: It reuses certain buffers, but when > > > reusing them it presumes

Re: [FFmpeg-devel] [PATCH] avcodec/libx265: Don't copy A53 closed captions by default

2024-06-11 Thread Andreas Rheinhardt
Tomas Härdin: > tis 2024-06-11 klockan 09:42 +0200 skrev Andreas Rheinhardt: >> The SEI handling of libx265 is buggy and can easily lead >> to memory corruption: It reuses certain buffers, but when >> reusing them it presumes that it is enough for these buffers >> to exist and does not check whethe

Re: [FFmpeg-devel] [PATCH] avcodec/libx265: Don't copy A53 closed captions by default

2024-06-11 Thread Tomas Härdin
tis 2024-06-11 klockan 09:42 +0200 skrev Andreas Rheinhardt: > The SEI handling of libx265 is buggy and can easily lead > to memory corruption: It reuses certain buffers, but when > reusing them it presumes that it is enough for these buffers > to exist and does not check whether they are actually

[FFmpeg-devel] [PATCH] avcodec/libx265: Don't copy A53 closed captions by default

2024-06-11 Thread Andreas Rheinhardt
The SEI handling of libx265 is buggy and can easily lead to memory corruption: It reuses certain buffers, but when reusing them it presumes that it is enough for these buffers to exist and does not check whether they are actually large enough to hold what is intended to be stored in them.* Our use