acowley / ffmpeg-light

Minimal Haskell bindings to the FFmpeg library
BSD 3-Clause "New" or "Revised" License
66 stars 29 forks source link

use of deprecated FFmpeg API #32

Open AleXoundOS opened 8 years ago

AleXoundOS commented 8 years ago

Building with FFmpeg 3.0.2

libavcodec/avcodec.h: struct AVPicture

use AVFrame or imgutils functions instead (controlled with FF_API_AVPICTURE directive)

libavcodec/avcodec.h: struct AVCodecContext int b_frame_strategy;

use encoder private options instead (controlled with FF_API_PRIVATE_OPT directive)

acowley commented 8 years ago

You should take a whack at fixing this! I'm glad to help and will of course accept the change.