summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2021-11-02 08:22:37 +0100
committerFrançois Andriot <francois.andriot@free.fr>2021-11-02 08:22:37 +0100
commit6a10a4b6932c56366133b2bc034005fc7dc83c42 (patch)
treee63d5c9d1e4b6e124bb823dc5da1eb28cadb8bd1 /plugins
parentf76cc7b31d3c0421a5e2659fd38e0800fd3e80d4 (diff)
downloadk3b-master.tar.gz
k3b-master.zip
Fix FTBFS on RHEL6HEADmaster
Signed-off-by: François Andriot <francois.andriot@free.fr>
Diffstat (limited to 'plugins')
-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() {