generic-pc: port audio/video decoders to newer ffmpeg API

this reduces the amount of deprecation warnings wih newer
ffmpeg releases quite a bit :-)
This commit is contained in:
Stefan Seyfried
2016-11-12 17:47:02 +01:00
parent 43a28b317c
commit 42fb4fe182
3 changed files with 50 additions and 38 deletions

View File

@@ -49,5 +49,6 @@ private:
uint8_t *dmxbuf;
int bufpos;
AVCodecContext *c;
AVCodecParameters *p;
};