projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f67b451
)
Add const qualifier.
author
Carl Hetherington
<cth@carlh.net>
Sun, 21 Jan 2018 03:15:08 +0000
(
03:15
+0000)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 21 Jan 2018 03:15:08 +0000
(
03:15
+0000)
src/lib/filter_graph.cc
patch
|
blob
|
history
diff --git
a/src/lib/filter_graph.cc
b/src/lib/filter_graph.cc
index 2fb1ad187edf51f9d8813d259f483a38c4fed362..44f20f7efe3d344172f174da63df06e531f9df80 100644
(file)
--- a/
src/lib/filter_graph.cc
+++ b/
src/lib/filter_graph.cc
@@
-74,12
+74,12
@@
FilterGraph::setup (vector<Filter const *> filters)
throw DecodeError (N_("could not create filter graph."));
}
throw DecodeError (N_("could not create filter graph."));
}
- AVFilter* buffer_src = avfilter_get_by_name (src_name().c_str());
+ AVFilter
const
* buffer_src = avfilter_get_by_name (src_name().c_str());
if (!buffer_src) {
throw DecodeError (N_("could not find buffer src filter"));
}
if (!buffer_src) {
throw DecodeError (N_("could not find buffer src filter"));
}
- AVFilter* buffer_sink = avfilter_get_by_name (sink_name().c_str());
+ AVFilter
const
* buffer_sink = avfilter_get_by_name (sink_name().c_str());
if (!buffer_sink) {
throw DecodeError (N_("Could not create buffer sink filter"));
}
if (!buffer_sink) {
throw DecodeError (N_("Could not create buffer sink filter"));
}