[FFmpeg] Use new decode API with recent FFmpeg version.

In libavcodec 58 and later, the old avcodec_decode_video2 is broken and only return the first visible frame found after a VP9 super-frame.
This commit is contained in:
trav90 2018-12-27 11:11:35 -06:00 committed by Roy Tam
commit 5949fc61dc
5 changed files with 68 additions and 7 deletions

View file

@ -127,3 +127,5 @@ avpicture_free
avpicture_get_size
avpicture_layout
avsubtitle_free
avcodec_send_packet
avcodec_receive_frame