avcodec/utils/ff_init_buffer_info factor avctx->internal->pkt; out

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/libxvid: improve return codes

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