summary refs log tree commit diff stats
path: root/director.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'director.cpp')
-rw-r--r--director.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/director.cpp b/director.cpp index 24335da..a38377e 100644 --- a/director.cpp +++ b/director.cpp
@@ -51,7 +51,7 @@ namespace ffmpeg {
51 format& fmt, 51 format& fmt,
52 AVStream* st) 52 AVStream* st)
53 { 53 {
54 AVCodec* dec = avcodec_find_decoder(st->codecpar->codec_id); 54 const AVCodec* dec = avcodec_find_decoder(st->codecpar->codec_id);
55 if (!dec) 55 if (!dec)
56 { 56 {
57 throw ffmpeg_error("Failed to find codec"); 57 throw ffmpeg_error("Failed to find codec");