summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_file_encoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-08-03 00:10:56 +0200
committerCarl Hetherington <cth@carlh.net>2021-08-03 00:10:56 +0200
commite14c78e13eab9125a875e90b97c7dab77aa46b90 (patch)
treeacd3a0c840940a6aba93d0b373c85e681c06366b /src/lib/ffmpeg_file_encoder.h
parent046467acdc778b4c20c1e451e75208503e8f4caa (diff)
Some const-correctness.
Diffstat (limited to 'src/lib/ffmpeg_file_encoder.h')
-rw-r--r--src/lib/ffmpeg_file_encoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_file_encoder.h b/src/lib/ffmpeg_file_encoder.h
index 330ae1ff9..9f3d88551 100644
--- a/src/lib/ffmpeg_file_encoder.h
+++ b/src/lib/ffmpeg_file_encoder.h
@@ -73,7 +73,7 @@ private:
static void buffer_free(void* opaque, uint8_t* data);
void buffer_free2(uint8_t* data);
- AVCodec* _video_codec = nullptr;
+ AVCodec const * _video_codec = nullptr;
AVCodecContext* _video_codec_context = nullptr;
std::vector<std::shared_ptr<ExportAudioStream>> _audio_streams;
bool _audio_stream_per_channel;