Reinstate proper FFmpeg license for all files.
avcodec/pngdec: Fix padded alloc code with threads

Fixes Ticket2903
Fixes out of array write
no releases should be affected by this

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/pngdec: fix last_row_size type

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
wnv1: remove unused avctx from codec private context

Signed-off-by: Paul B Mahol <onemda@gmail.com>
kgv1dec: make decoder independent of sizeof(AVFrame)

Signed-off-by: Paul B Mahol <onemda@gmail.com>
kgv1dec: remove unused avctx from codec private context

Signed-off-by: Paul B Mahol <onemda@gmail.com>
vformat/subtitles: check av_copy_packets return code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/avpacket: Use av_free_packet() in error cleanups

This prevents memleaks on errors
reproduceable with fate when error pathes are forced

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
lavu/bprint: add append buffer function

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Reveiwed-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/pngdsp: fix (un)signed type in end comparission

Fixes out of array accesses
Fixes Ticket2919

Found_by: ami_stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/dsputil: fix signedness in sizeof() comparissions

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/avidec: match first index and first packet size=0 handling

Fixes Ticket2861

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Fix make checkheaders for vdpau_internal.h
Fix make checkheaders for wavpackenc.h