From: Pavel Koshevoy <pkoshevoy@gmail.com>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH] avformat/mov: Fix get_eia608_packet c608 caption reformatting
Date: Thu, 13 Feb 2025 15:53:45 -0700
Message-ID: <CAJgjuoxAMm7JcGcZFBxz32-Bd4u2E35ykCXmtXadd+D=i746SQ@mail.gmail.com> (raw)
In-Reply-To: <CAHGibzGNAdcL0xGrDbi0HfDO1U46O4aLKci59VXrrYoUL+YHCg@mail.gmail.com>
On Thu, Feb 13, 2025 at 1:12 PM Devin Heitmueller <
devin.heitmueller@ltnglobal.com> wrote:
> On Thu, Feb 13, 2025 at 3:00 PM Pavel Koshevoy <pkoshevoy@gmail.com>
> wrote:
> > yes, that patch is better in that it doesn't over-allocate.
> > I don't care much which fix gets merged, so long as the problem is fixed.
>
> Ok, if you could please try that patch and assuming it works for you
> reply to the list accordingly. I tried it two years ago (which is how
> I found a bug in it), but it would be good to have someone else test
> it before it gets merged.
I've tested it with 3 files (2 with both cdat and cdt2, and 1 with just
cdat) -- it worked fine.
This patch doesn't handle potential integer overflow in `new_size = ((size
- 8) / 2) * 3;`,
but idk if `av_new_packet` would handle that instead.
Anyway, I just want this function fixed, I don't care who fixes it.
Thank you,
Pavel.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
prev parent reply other threads:[~2025-02-13 22:54 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-13 0:09 Pavel Koshevoy
2025-02-13 2:23 ` Pavel Koshevoy
2025-02-13 6:46 ` Andreas Rheinhardt
2025-02-13 17:56 ` Pavel Koshevoy
2025-02-13 19:01 ` Devin Heitmueller
2025-02-13 19:59 ` Pavel Koshevoy
2025-02-13 20:12 ` Devin Heitmueller
2025-02-13 21:05 ` Pavel Koshevoy
2025-02-13 22:03 ` Devin Heitmueller
2025-02-13 22:35 ` Pavel Koshevoy
2025-02-13 22:53 ` Pavel Koshevoy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJgjuoxAMm7JcGcZFBxz32-Bd4u2E35ykCXmtXadd+D=i746SQ@mail.gmail.com' \
--to=pkoshevoy@gmail.com \
--cc=ffmpeg-devel@ffmpeg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git