archrelease: copy trunk to extra-x86_64
[arch-packages.git] / chromium / trunk / chromium-93-ffmpeg-4.4.patch
blobf0ec736f98bc726f9e473d15d9427bfee9c46ec7
1 diff --git a/media/filters/ffmpeg_demuxer.cc b/media/filters/ffmpeg_demuxer.cc
2 index ac4713b07268..492a9a37d096 100644
3 --- a/media/filters/ffmpeg_demuxer.cc
4 +++ b/media/filters/ffmpeg_demuxer.cc
5 @@ -427,11 +427,11 @@ void FFmpegDemuxerStream::EnqueuePacket(ScopedAVPacket packet) {
6 scoped_refptr<DecoderBuffer> buffer;
8 if (type() == DemuxerStream::TEXT) {
9 - size_t id_size = 0;
10 + int id_size = 0;
11 uint8_t* id_data = av_packet_get_side_data(
12 packet.get(), AV_PKT_DATA_WEBVTT_IDENTIFIER, &id_size);
14 - size_t settings_size = 0;
15 + int settings_size = 0;
16 uint8_t* settings_data = av_packet_get_side_data(
17 packet.get(), AV_PKT_DATA_WEBVTT_SETTINGS, &settings_size);
19 @@ -443,7 +443,7 @@ void FFmpegDemuxerStream::EnqueuePacket(ScopedAVPacket packet) {
20 buffer = DecoderBuffer::CopyFrom(packet->data, packet->size,
21 side_data.data(), side_data.size());
22 } else {
23 - size_t side_data_size = 0;
24 + int side_data_size = 0;
25 uint8_t* side_data = av_packet_get_side_data(
26 packet.get(), AV_PKT_DATA_MATROSKA_BLOCKADDITIONAL, &side_data_size);
28 @@ -504,7 +504,7 @@ void FFmpegDemuxerStream::EnqueuePacket(ScopedAVPacket packet) {
29 packet->size - data_offset);
32 - size_t skip_samples_size = 0;
33 + int skip_samples_size = 0;
34 const uint32_t* skip_samples_ptr =
35 reinterpret_cast<const uint32_t*>(av_packet_get_side_data(
36 packet.get(), AV_PKT_DATA_SKIP_SAMPLES, &skip_samples_size));