[FFmpeg-devel] [PATCH] jpeg2000dec: simplify jpeg2000_read_bitstream_packets()

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Jul 24 00:21:27 CEST 2013


Michael Niedermayer <michaelni <at> gmx.at> writes:

> +    atom_end  = bytestream2_tell(&s->g) + atom_size - 8;

> +    if (bytestream2_get_bytes_left(&s->g) < atom_size || 
> atom_end < atom_size)

Could you explain what atom_end < atom_size is supposed 
to check?

Carl Eugen



More information about the ffmpeg-devel mailing list