updating deprecated function avcodec_alloc_frame to av_frame_alloc

updated depracated function avcodec_alloc_frame to av_frame_alloc