pianobar: Fix build with ffmpeg 5.0
This commit is contained in:
parent
9f67787f80
commit
e8b654c921
@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="pianobar is a free/open-source, console-based client for
|
||||
TERMUX_PKG_LICENSE="MIT"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=2020.11.28
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_REVISION=2
|
||||
TERMUX_PKG_SRCURL=https://github.com/PromyLOPh/pianobar/archive/${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=f8cdd564e2a12ee0740c54e8bc4028b328e9afb041d9ea40bcb762e08034b9e9
|
||||
TERMUX_PKG_DEPENDS="libao, ffmpeg, libgcrypt, libcurl, json-c"
|
||||
|
11
packages/pianobar/src-player.h.patch
Normal file
11
packages/pianobar/src-player.h.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/src/player.h
|
||||
+++ b/src/player.h
|
||||
@@ -68,7 +68,7 @@
|
||||
AVFilterGraph *fgraph;
|
||||
AVFormatContext *fctx;
|
||||
AVStream *st;
|
||||
- AVCodecContext *cctx;
|
||||
+ struct AVCodecContext *cctx;
|
||||
AVFilterContext *fbufsink, *fabuf;
|
||||
int streamIdx;
|
||||
int64_t lastTimestamp;
|
Loading…
Reference in New Issue
Block a user