Updating deprecated functions
Merge pull request #19 from Schebb/master

update deprecated function ( avcodec_alloc_frame, get_buffer, avcodec_default_get_buffer )