[FFmpeg-devel] [PATCH] DTS-HD demuxer
Paul B Mahol
onemda at gmail.com
Tue Oct 9 11:10:55 CEST 2012
On 10/8/12, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Mon, Oct 08, 2012 at 10:00:37AM +0000, Paul B Mahol wrote:
>> Signed-off-by: Paul B Mahol <onemda at gmail.com>
>> ---
>> configure | 1 +
>> doc/general.texi | 1 +
>> libavformat/Makefile | 1 +
>> libavformat/allformats.c | 1 +
>> libavformat/dtshddec.c | 137
>> +++++++++++++++++++++++++++++++++++++++++++++++
>> 5 files changed, 141 insertions(+)
>> create mode 100644 libavformat/dtshddec.c
[..]
> consider a 32bit system
> int and size_t are 32bit
> chunk_size is larger, lets assume its (1<<32)+123
>
> malloc will only see 123 but
> value[chunk_size - 1] = 0; will see (1<<32)+123-1
>
> except that the patch LGTM
>
> thanks
>
> [...]
Fixed and pushed.
More information about the ffmpeg-devel
mailing list