[FFmpeg-devel] [PATCH 3/3] avformat/mov: Expose encryption info to the app.
Michael Niedermayer
michael at niedermayer.cc
Wed Jul 4 01:26:29 EEST 2018
On Mon, Jul 02, 2018 at 09:55:08AM -0700, Jacob Trimble wrote:
> On Mon, Jun 25, 2018 at 10:59 AM Jacob Trimble <modmaker at google.com> wrote:
> >
> > Rebased and updated to handle multiple PSSH atoms. PTAL.
> >
> > On Tue, Jan 9, 2018 at 10:28 AM Jacob Trimble <modmaker at google.com> wrote:
> >>
> >> On Mon, Jan 8, 2018 at 5:23 PM, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> >> > 2018-01-09 0:22 GMT+01:00 Jacob Trimble <modmaker-at-google.com at ffmpeg.org>:
> >> >
> >> >> Updated with the new design for the side data and applied the realloc
> >> >> fix to avoid large allocations.
> >> >
> >> >> + kid_count = avio_rb32(pb);
> >> >
> >> > Missing check here ...
> >> >
> >> >> + for (; i < kid_count && !pb->eof_reached; i++) {
> >> >> + unsigned int min_kid_count = FFMIN(FFMAX(i, 1024), kid_count);
> >> >> + key_ids = av_fast_realloc(info->key_ids, &alloc_size,
> >> >
> >> >> + min_kid_count * sizeof(*key_ids));
> >> >
> >> > ... for an overflow here.
> >>
> >> Done
> >>
> >> >
> >> > Thank you, Carl Eugen
> >> > _______________________________________________
> >> > ffmpeg-devel mailing list
> >> > ffmpeg-devel at ffmpeg.org
> >> > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> Ping.
will apply
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180704/b4a27cc5/attachment.sig>
More information about the ffmpeg-devel
mailing list