projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c1abc8
)
Remove unnecessary new.
author
Carl Hetherington
<cth@carlh.net>
Sat, 9 Jul 2016 22:46:37 +0000
(23:46 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 9 Jul 2016 22:46:37 +0000
(23:46 +0100)
src/lib/video_filter_graph.cc
patch
|
blob
|
history
diff --git
a/src/lib/video_filter_graph.cc
b/src/lib/video_filter_graph.cc
index 201150560bb1ffaae82a7c72e8c97c3682a2eab1..023226110c4d8de0a67e47224f33497991024587 100644
(file)
--- a/
src/lib/video_filter_graph.cc
+++ b/
src/lib/video_filter_graph.cc
@@
-99,7
+99,6
@@
VideoFilterGraph::sink_parameters () const
{
AVBufferSinkParams* sink_params = av_buffersink_params_alloc ();
AVPixelFormat* pixel_fmts = new AVPixelFormat[2];
- pixel_fmts = new AVPixelFormat[2];
pixel_fmts[0] = _pixel_format;
pixel_fmts[1] = AV_PIX_FMT_NONE;
sink_params->pixel_fmts = pixel_fmts;
@@
-117,4
+116,3
@@
VideoFilterGraph::sink_name () const
{
return "buffersink";
}
-