84ad6633a6
The API to decode the video frames is different depending on the libavcodec version. Move the new API usage to the #if-block.