avcodec/ituh263dec: detect and warn about RTP

Fixes Ticket925
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/movenc: move chapter_properties under the #if of the code that uses it

Fixes warning about unused variable

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
h264: prevent rbsp_buffer values from becoming duplicated

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/h264: Zero rbsp_buffer earler to ensure no duplicated pointers can leak

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/h264: Free rbsp_buffer before copying context over it

Fixes memleak
Fixes Ticket1900

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>