[FFmpeg-devel] [PATCH v2 1/7] avformat/matroskadec: support parsing more than one BlockMore element

James Almer jamrial at gmail.com
Thu Mar 30 03:57:07 EEST 2023


On 3/29/2023 9:43 PM, Andreas Rheinhardt wrote:
>> @@ -3610,12 +3614,28 @@ static int matroska_parse_webvtt(MatroskaDemuxContext *matroska,
>>       return 0;
>>   }
>>   
>> +static int matroska_parse_block_additional(MatroskaDemuxContext *matroska,
>> +                                           AVPacket *pkt,
>> +                                           const uint8_t *data, int size, uint64_t id)
>> +{
>> +    uint8_t *side_data = av_packet_new_side_data(pkt,
>> +                                                 AV_PKT_DATA_MATROSKA_BLOCKADDITIONAL,
>> +                                                 size + 8);
> size + (size_t)8

Seems out of scope for this patch as it's not changing the existing 
behavior, but ok, will change.


More information about the ffmpeg-devel mailing list