[FFmpeg-cvslog] r25380 - trunk/libavformat/utils.c
Michael Niedermayer
michaelni
Wed Oct 6 23:50:16 CEST 2010
On Wed, Oct 06, 2010 at 11:46:28PM +0200, Michael Niedermayer wrote:
> On Wed, Oct 06, 2010 at 10:52:26PM +0200, aurel wrote:
> > Author: aurel
> > Date: Wed Oct 6 22:52:26 2010
> > New Revision: 25380
> >
> > Log:
> > dynamically use nb_streams instead of static use of MAX_STREAMS
>
> revert this, its exloitable
ret = av_read_packet(ic, pkt);
}while(ret == AVERROR(EAGAIN));
if (ret != 0)
break;
read_size += pkt->size;
st = ic->streams[pkt->stream_index];
if (pkt->pts != AV_NOPTS_VALUE &&
start_time[pkt->stream_index] != AV_NOPTS_VALUE) {
^^^^^^^^^^^^^^^
only crash it seems but still
start_time should not be an array but a value in AVStream
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20101006/b01f2602/attachment.pgp>
More information about the ffmpeg-cvslog
mailing list