summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2021-11-02 08:22:37 +0100
committerMichele Calgaro <[email protected]>2021-11-02 22:34:07 +0900
commitfded15bc406d2374689ced420c4237f39ad5c036 (patch)
treeee891b2c3f6822eab441c7f5c48ab7a51c442f3d
parent469637bdbff0aa4ba1c0fb5d79b191cad44bc889 (diff)
downloadk3b-fded15bc406d2374689ced420c4237f39ad5c036.tar.gz
k3b-fded15bc406d2374689ced420c4237f39ad5c036.zip
Fix FTBFS on RHEL6
Signed-off-by: François Andriot <[email protected]> (cherry picked from commit 6a10a4b6932c56366133b2bc034005fc7dc83c42)
-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() {