On 3/10/2021 6:28 PM, Andreas Rheinhardt wrote:
James Almer:
On 3/10/2021 4:38 PM, Michael Niedermayer wrote:
On Sat, Mar 06, 2021 at 04:42:35PM -0300, James Almer wrote:
Signed-off-by: James Almer <jamr...@gmail.com>
---
Changes since v2 is the addition of the buffer_size_t typedef to
reduce the
amount of ifdeffery required to adapt our code.
doc/APIchanges | 4 ++++
libavutil/buffer.c | 14 +++++++-------
libavutil/buffer.h | 32 ++++++++++++++++++++++++++++++++
libavutil/buffer_internal.h | 8 ++++----
libavutil/internal.h | 7 +++++++
libavutil/version.h | 5 ++++-
6 files changed, 58 insertions(+), 12 deletions(-)
The patchset prior to the bump LGTM
the patchset after the bump (thus enabled size_t) is probably ok but
i did not review this for downstream effects which could introduce bugs
when theres any code that expected the variables to be int
That's what 2+ years of advanced warning are for. Same as we did with
the Crypto modules that will be switching to size_t in the upcoming bump.
What 2+ years of advanced warning are you talking about?
My bad, was thinking about the AVPacket set.
This patchset
as-is wants to switch the type at the next major bump, i.e. fairly soon.
(And fyi: Our crypto functions are not compatible with size_t right now;
see
https://github.com/mkver/FFmpeg/commit/1d830b0495399bb59a296d7bb3e2b2ab88a32fc1.)
- Andreas
code prior bump tested, code post bump not tested
Thanks
[...]
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".