This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 9ab37ef91834632c460bb5c68f45ad6102f460d7 Author: Andreas Rheinhardt <[email protected]> AuthorDate: Wed Apr 15 16:22:45 2026 +0200 Commit: James Almer <[email protected]> CommitDate: Thu Apr 16 19:27:03 2026 +0000 avcodec/packet: Remove always-true check Signed-off-by: Andreas Rheinhardt <[email protected]> --- libavcodec/packet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/packet.c b/libavcodec/packet.c index 348159f7f7..a2d453a4b3 100644 --- a/libavcodec/packet.c +++ b/libavcodec/packet.c @@ -358,7 +358,7 @@ int av_packet_unpack_dictionary(const uint8_t *data, size_t size, if (!dict || !data || !size) return 0; end = data + size; - if (size && end[-1]) + if (end[-1]) return AVERROR_INVALIDDATA; while (data < end) { const uint8_t *key = data; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
