void-packages/srcpkgs/chromium/patches/chromium-119-ffmpeg-4.4.patch

21 lines
686 B
Diff

--- a/media/filters/ffmpeg_demuxer.cc.orig
+++ b/media/filters/ffmpeg_demuxer.cc
@@ -390,7 +390,7 @@
scoped_refptr<DecoderBuffer> buffer;
- size_t side_data_size = 0;
+ int side_data_size = 0;
uint8_t* side_data = av_packet_get_side_data(
packet.get(), AV_PKT_DATA_MATROSKA_BLOCKADDITIONAL, &side_data_size);
@@ -453,7 +453,7 @@
packet->size - data_offset);
}
- size_t skip_samples_size = 0;
+ int skip_samples_size = 0;
const uint32_t* skip_samples_ptr =
reinterpret_cast<const uint32_t*>(av_packet_get_side_data(
packet.get(), AV_PKT_DATA_SKIP_SAMPLES, &skip_samples_size));