summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-07-09 23:46:37 +0100
committerCarl Hetherington <cth@carlh.net>2016-07-09 23:46:37 +0100
commit19ca547fcb67b2673f2f757597c3fb4e462f0944 (patch)
tree4c047d98d4a92545053e3816333206d61b60ad74 /src
parent0c1abc8927cf7361ebd417944d337bff4b5c7e41 (diff)
Remove unnecessary new.
Diffstat (limited to 'src')
-rw-r--r--src/lib/video_filter_graph.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/video_filter_graph.cc b/src/lib/video_filter_graph.cc
index 201150560..023226110 100644
--- 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";
}
-