Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 331628 Details for
Bug 445168
media-libs/mediastreamer-2.8.2 - Fails to build against media-video/ffmpeg-1.0 - videoenc.c: error: 'CODEC_FLAG_H263P_UMV', 'CODEC_FLAG_H263P_SLICE_STRUCT', 'FF_I_TYPE' undeclared
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ffmpeg fix
mediastreamer-2.8.2-ffmpeg-1.0.patch (text/plain), 1.52 KB, created by
Reuben Martin
on 2012-12-06 05:26:52 UTC
(
hide
)
Description:
ffmpeg fix
Filename:
MIME Type:
Creator:
Reuben Martin
Created:
2012-12-06 05:26:52 UTC
Size:
1.52 KB
patch
obsolete
>commit f586917ea4d66f9ba8910f0967a8830e54d50784 >Author: Yann Diorcet <yann.diorcet@belledonne-communications.com> >Date: Tue Jun 5 11:07:48 2012 +0200 > > Fixes for new versions of ffmpeg > >diff --git a/src/h264dec.c b/src/h264dec.c >index c4a84ee..5229b5e 100644 >--- a/src/h264dec.c >+++ b/src/h264dec.c >@@ -45,7 +45,9 @@ typedef struct _DecData{ > static void ffmpeg_init(){ > static bool_t done=FALSE; > if (!done){ >+#ifdef FF_API_AVCODEC_INIT > avcodec_init(); >+#endif > avcodec_register_all(); > done=TRUE; > } >diff --git a/src/videoenc.c b/src/videoenc.c >index 21d016f..fb35760 100644 >--- a/src/videoenc.c >+++ b/src/videoenc.c >@@ -39,6 +39,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. > > static bool_t avcodec_initialized=FALSE; > >+#ifndef FF_I_TYPE >+#define FF_I_TYPE AV_PICTURE_TYPE_I >+#endif >+ > #ifdef ENABLE_LOG_FFMPEG > > void ms_ffmpeg_log_callback(void* ptr, int level, const char* fmt, va_list vl) >@@ -53,7 +57,9 @@ void ms_ffmpeg_log_callback(void* ptr, int level, const char* fmt, va_list vl) > > void ms_ffmpeg_check_init(){ > if(!avcodec_initialized){ >+#ifdef FF_API_AVCODEC_INIT > avcodec_init(); >+#endif > avcodec_register_all(); > avcodec_initialized=TRUE; > #ifdef ENABLE_LOG_FFMPEG >@@ -300,10 +306,10 @@ static void prepare_h263(EncState *s){ > if (s->profile==0){ > s->codec=CODEC_ID_H263; > }else{ >+ /* > c->flags|=CODEC_FLAG_H263P_UMV; > c->flags|=CODEC_FLAG_AC_PRED; > c->flags|=CODEC_FLAG_H263P_SLICE_STRUCT; >- /* > c->flags|=CODEC_FLAG_OBMC; > c->flags|=CODEC_FLAG_AC_PRED; > */
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 445168
:
330912
| 331628