summaryrefslogtreecommitdiffstats
path: root/plugins/decoder/ffmpeg
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2021-11-02 08:22:37 +0100
committerFrançois Andriot <[email protected]>2021-11-02 08:22:37 +0100
commit6a10a4b6932c56366133b2bc034005fc7dc83c42 (patch)
treee63d5c9d1e4b6e124bb823dc5da1eb28cadb8bd1 /plugins/decoder/ffmpeg
parentf76cc7b31d3c0421a5e2659fd38e0800fd3e80d4 (diff)
downloadk3b-6a10a4b6932c56366133b2bc034005fc7dc83c42.tar.gz
k3b-6a10a4b6932c56366133b2bc034005fc7dc83c42.zip
Fix FTBFS on RHEL6
Signed-off-by: François Andriot <[email protected]>
Diffstat (limited to 'plugins/decoder/ffmpeg')
-rw-r--r--plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp b/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp
index a5f104c..7b91b58 100644
--- a/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp
+++ b/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp
@@ -106,7 +106,7 @@ public:
::AVFrame *frame;
::AVPacket packet;
- char *outputBufferPos = NULL;
+ char *outputBufferPos;
int outputBufferSize;
int packetSize;
bool isSpacious;
@@ -118,6 +118,7 @@ K3bFFMpegFile::K3bFFMpegFile(const TQString &filename) : m_filename(filename) {
d->codec = NULL;
d->audio_stream = NULL;
d->frame = av_frame_alloc();
+ d->outputBufferPos = NULL;
}
K3bFFMpegFile::~K3bFFMpegFile() {