Fix version check for av_frame_copy()
Merge branch 'master' into api-rework