Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 316911 Details for
Bug 276338
media-gfx/blender-2.5 SVN
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
blender-libav.patch update
blender-libav.patch (text/plain), 1.94 KB, created by
AaronD
on 2012-07-01 22:09:46 UTC
(
hide
)
Description:
blender-libav.patch update
Filename:
MIME Type:
Creator:
AaronD
Created:
2012-07-01 22:09:46 UTC
Size:
1.94 KB
patch
obsolete
>--- source/blender/blenkernel/intern/writeffmpeg.c 2012-02-09 18:29:54.000000000 -0700 >+++ source/blender/blenkernel/intern/writeffmpeg.c 2012-02-09 18:29:05.000000000 -0700 >@@ -44,6 +44,8 @@ > #include <libavutil/rational.h> > #include <libavutil/samplefmt.h> > #include <libswscale/swscale.h> >+#include <libavutil/mathematics.h> >+#include <libavutil/avstring.h> > > #include "MEM_guardedalloc.h" > >--- intern/ffmpeg/ffmpeg_compat.h 2012-02-09 19:53:30.000000000 -0700 >+++ intern/ffmpeg/ffmpeg_compat.h 2012-02-09 20:08:02.000000000 -0700 >@@ -36,6 +36,7 @@ > #include <libavcodec/avcodec.h> > #include <libavutil/rational.h> > #include <libavutil/opt.h> >+#include <libavutil/mathematics.h> > > #if (LIBAVFORMAT_VERSION_MAJOR > 52) || ((LIBAVFORMAT_VERSION_MAJOR >= 52) && (LIBAVFORMAT_VERSION_MINOR >= 101)) > #define FFMPEG_HAVE_PARSE_UTILS 1 > >--- intern/audaspace/ffmpeg/AUD_FFMPEGWriter.cpp 2011-10-24 20:09:01.000000000 +0200 >+++ intern/audaspace/ffmpeg/AUD_FFMPEGWriter.cpp 2011-11-13 12:34:01.000000000 +0100 >@@ -40,6 +40,8 @@ > #include <libavcodec/avcodec.h> > #include <libavformat/avformat.h> > #include <libavformat/avio.h> >+#include <libavutil/mathematics.h> >+#include <libavutil/avstring.h> > #include "ffmpeg_compat.h" > } > >@@ -57,10 +58,15 @@ > { > static const char* formats[] = { NULL, "ac3", "flac", "matroska", "mp2", "mp3", "ogg", "wav" }; > >- if(avformat_alloc_output_context2(&m_formatCtx, NULL, formats[format], filename.c_str())) >- AUD_THROW(AUD_ERROR_FFMPEG, context_error); >+ m_formatCtx = avformat_alloc_context(); >+ if (!m_formatCtx) AUD_THROW(AUD_ERROR_FFMPEG, context_error); > >- m_outputFmt = m_formatCtx->oformat; >+ av_strlcpy(m_formatCtx->filename, filename.c_str(), sizeof(m_formatCtx->filename)); >+ m_outputFmt = m_formatCtx->oformat = av_guess_format(formats[format], filename.c_str(), NULL); >+ if (!m_outputFmt) { >+ avformat_free_context(m_formatCtx); >+ AUD_THROW(AUD_ERROR_FFMPEG, context_error); >+ } > > switch(codec) > {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 276338
:
196474
|
196477
|
199549
|
201208
|
201222
|
201223
|
201225
|
201312
|
201684
|
201685
|
201687
|
201688
|
202454
|
204007
|
204008
|
204009
|
204010
|
204012
|
204014
|
204031
|
204216
|
204616
|
204622
|
204624
|
204625
|
205091
|
205675
|
205676
|
206068
|
206853
|
213876
|
215848
|
224099
|
224443
|
227357
|
227477
|
227479
|
227481
|
228419
|
228465
|
228519
|
238603
|
238605
|
241313
|
241315
|
246942
|
246944
|
252871
|
254325
|
255923
|
258479
|
258646
|
259906
|
263079
|
263847
|
264145
|
264655
|
265177
|
265489
|
266121
|
268743
|
269639
|
269671
|
269725
|
270319
|
271985
|
272415
|
274533
|
274535
|
277707
|
278649
|
278821
|
278823
|
278903
|
278905
|
280689
|
280693
|
282083
|
282169
|
285111
|
286065
|
286067
|
286175
|
286177
|
292059
|
292061
|
292063
|
292065
|
292067
|
292069
|
292071
|
292169
|
296945
|
297059
|
301437
|
301439
|
303799
|
307951
|
308237
|
309395
|
311773
| 316911 |
316913
|
328834