79509740

Date: 2025-03-14 16:53:55
Score: 1
Natty:
Report link
Between calls to avformat_alloc_output_context2() and avcodec_find_encoder() I think you need to call:

avio_open2(&formatContext->pb, url, AVIO_FLAG_WRITE, NULL, NULL);

Otherwise pb is NULL when the AVFormatContext trys to write the data.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Starman2049