summaryrefslogtreecommitdiff
path: root/community/vtk/ffmpeg-2.0.diff
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/vtk/ffmpeg-2.0.diff
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/vtk/ffmpeg-2.0.diff')
-rw-r--r--community/vtk/ffmpeg-2.0.diff21
1 files changed, 0 insertions, 21 deletions
diff --git a/community/vtk/ffmpeg-2.0.diff b/community/vtk/ffmpeg-2.0.diff
deleted file mode 100644
index 2488d74a0..000000000
--- a/community/vtk/ffmpeg-2.0.diff
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -rupN a/IO/vtkFFMPEGWriter.cxx b/IO/vtkFFMPEGWriter.cxx
---- a/IO/vtkFFMPEGWriter.cxx 2013-07-22 18:29:24.625362910 +0000
-+++ b/IO/vtkFFMPEGWriter.cxx 2013-07-22 18:39:16.184515101 +0000
-@@ -149,7 +149,7 @@ int vtkFFMPEGWriterInternal::Start()
-
- //Set up the codec.
- AVCodecContext *c = this->avStream->codec;
-- c->codec_id = (CodecID)this->avOutputFormat->video_codec;
-+ c->codec_id = (AVCodecID)this->avOutputFormat->video_codec;
- c->codec_type = AVMEDIA_TYPE_VIDEO;
- c->width = this->Dim[0];
- c->height = this->Dim[1];
-@@ -199,7 +199,7 @@ int vtkFFMPEGWriterInternal::Start()
- vtkGenericWarningMacro (<< "Codec not found." );
- return 0;
- }
-- if (avcodec_open(c, codec) < 0)
-+ if (avcodec_open2(c, codec, NULL) < 0)
- {
- vtkGenericWarningMacro (<< "Could not open codec.");
- return 0;