Zebediah Figura (@zfigura) commented about dlls/winegstreamer/quartz_parser.c:
* but as long as every sample fits into our allocator, we're fine. */ return format->u.video_cinepak.width * format->u.video_cinepak.height * 3;
case WG_MAJOR_TYPE_VIDEO_MPEG1:
return wg_format_get_bytes_for_uncompressed(WG_VIDEO_FORMAT_YV12,
format->u.video_mpeg1.width, format->u.video_mpeg1.height);
This is overestimation because we can't do any better, right? In that case it probably deserves a comment just to clarify that's what's happening.