[FFmpeg-devel] Patch to libavc/opus to create extradata if missing

Jonathan Baudanza jon at jonb.org
Sun Jan 3 22:16:32 EET 2021


On Wed, Dec 30, 2020, at 10:34 AM, James Almer wrote:

> Nothing should have done it at that point. The demuxer allocates the 
> AVStream after all. But to be sure you can do 
> av_freep(&st->codecpar->extradata) to ensure it's NULL before anything 
> else is done.

Thanks James.

I've updated the patch to include av_freep. If there's no other feedback, I think this is ready to go.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ff_rtp_parse_open-builds-Opus-head-in-extradata.patch
Type: application/octet-stream
Size: 1966 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210103/6ffb920a/attachment.obj>


More information about the ffmpeg-devel mailing list