Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 346322 Details for
Bug 443258
media-plugins/alsa-plugins-1.0.26: fails to build with media-video/libav-9
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
workaround for libav-9
alsa-plugins-1.0.26-fix-ftbfs-libav9.patch (text/plain), 1003 bytes, created by
Jiří Moravec
on 2013-04-22 19:21:54 UTC
(
hide
)
Description:
workaround for libav-9
Filename:
MIME Type:
Creator:
Jiří Moravec
Created:
2013-04-22 19:21:54 UTC
Size:
1003 bytes
patch
obsolete
>Author: Reinhard Tartler <siretart@ubuntu.com> >Description: Update to newer libav API - compatible to libav 0.8 and libav 9 > >Index: alsa-plugins-1.0.26/a52/pcm_a52.c >=================================================================== >--- alsa-plugins-1.0.26.orig/a52/pcm_a52.c 2013-04-22 20:29:05.107102697 +0200 >+++ alsa-plugins-1.0.26/a52/pcm_a52.c 2013-04-22 20:34:12.985107208 +0200 >@@ -25,6 +25,8 @@ > #include <alsa/asoundlib.h> > #include <alsa/pcm_external.h> > #include <alsa/pcm_plugin.h> >+#include <libavutil/audioconvert.h> >+#include <libavutil/mem.h> > #include AVCODEC_HEADER > > struct a52_ctx { >@@ -429,7 +431,7 @@ > > a52_free(rec); > >- rec->avctx = avcodec_alloc_context(); >+ rec->avctx = avcodec_alloc_context3(rec->codec); > if (! rec->avctx) > return -ENOMEM; > >@@ -457,7 +459,7 @@ > } > #endif > >- if (avcodec_open(rec->avctx, rec->codec) < 0) >+ if (avcodec_open2(rec->avctx, rec->codec, NULL) < 0) > return -EINVAL; > > rec->inbuf = malloc(rec->avctx->frame_size * 2 * io->channels);
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 443258
: 346322