summaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2017-03-24 11:02:27 +0100
committerLars-Dominik Braun <lars@6xq.net>2017-03-24 11:02:27 +0100
commitf3dff6792232d1e3f2deb8baf21dc1fa81581090 (patch)
tree1fd9dd95c2e7669f1b9479340c25710084e66053 /src/player.h
parente945578ab22912049f1e547ce7b25b01089f7590 (diff)
downloadpianobar-f3dff6792232d1e3f2deb8baf21dc1fa81581090.tar.gz
pianobar-f3dff6792232d1e3f2deb8baf21dc1fa81581090.tar.bz2
pianobar-f3dff6792232d1e3f2deb8baf21dc1fa81581090.zip
Replace deprecated avcodec_decode_audio4
Use new send_packet/receive_frame API. Bumps libav and ffmpeg version requirements. Revert this commit if you need an older version.
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/player.h b/src/player.h
index 4f0c963..97e5e95 100644
--- a/src/player.h
+++ b/src/player.h
@@ -63,6 +63,7 @@ typedef struct {
AVFilterGraph *fgraph;
AVFormatContext *fctx;
AVStream *st;
+ AVCodecContext *cctx;
AVFilterContext *fbufsink, *fabuf;
int streamIdx;
int64_t lastTimestamp;