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

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Mon Jan 4 03:08:46 EET 2021


Jonathan Baudanza:
> On Sun, Jan 3, 2021, at 3:34 PM, Andreas Rheinhardt wrote:
>> Lynne:
>>>
>>> Apart from that LGTM.
>>
>> +1 if the case of more than two channels has been properly tested.
>>
> 
> I tested this by creating an (invalid) SDP file with channels set to 3. In this case, the rtp demuxer fails with the following message:
> 
>    [sdp @ 0x7fe40280b800] Error creating opus extradata: Invalid data found when processing input
> 
> It might be more descriptive if we added a log warning about the channel count. WDYT?

It's ok as-is.

- Andreas


More information about the ffmpeg-devel mailing list