[FFmpeg-devel] [PATCH v3 03/17] avcodec/encode: switch to avcodec_get_supported_config()
Michael Niedermayer
michael at niedermayer.cc
Sat Aug 31 23:16:25 EEST 2024
On Fri, Aug 30, 2024 at 12:15:26PM +0200, Niklas Haas wrote:
> From: Niklas Haas <git at haasn.dev>
>
> ---
> libavcodec/encode.c | 90 ++++++++++++++++++++++++++++-----------------
> 1 file changed, 57 insertions(+), 33 deletions(-)
breaks:
make V=2 fate-png-icc
Stream #0:0: Video: png, rgb24(pc, gbr/bt709/unknown), 128x128 [SAR 2835:2835 DAR 1:1], 25 fps, 25 tbr, 25 tbn
Stream mapping:
Stream #0:0 -> #0:0 (png (native) -> rawvideo (native))
==1696388== Thread 3 vf#0:0:
==1696388== Invalid read of size 4
==1696388== at 0x7BEA43: ff_default_get_supported_config (in ffmpeg/ffmpeg_g)
==1696388== by 0x7BEBF4: avcodec_get_supported_config (in ffmpeg/ffmpeg_g)
==1696388== by 0x8C6BED: ff_encode_preinit (in ffmpeg/ffmpeg_g)
==1696388== by 0x7BE1FA: avcodec_open2 (in ffmpeg/ffmpeg_g)
==1696388== by 0x30172F: enc_open (in ffmpeg/ffmpeg_g)
==1696388== by 0x319CC8: send_to_enc (in ffmpeg/ffmpeg_g)
==1696388== by 0x30531F: fg_output_frame (in ffmpeg/ffmpeg_g)
==1696388== by 0x3062C9: read_frames.part.0 (in ffmpeg/ffmpeg_g)
==1696388== by 0x308823: filter_thread (in ffmpeg/ffmpeg_g)
==1696388== by 0x31A5EC: task_wrapper (in ffmpeg/ffmpeg_g)
==1696388== by 0x4A04608: start_thread (pthread_create.c:477)
==1696388== by 0x7728352: clone (clone.S:95)
==1696388== Address 0x0 is not stack'd, malloc'd or (recently) free'd
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240831/f5e9d4e5/attachment.sig>
More information about the ffmpeg-devel
mailing list