Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 513384

Summary: dev-php/ffmpeg-php-0.6.0-r2 - .../work/php5.4/ffmpeg_movie.c:973:28: error: 'AVCodecContext' has no member named 'sub_id'
Product: Gentoo Linux Reporter: Tomasz Regdos <tomek>
Component: [OLD] DevelopmentAssignee: PHP Bugs <php-bugs>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/tony2001/ffmpeg-php/commit/9a98d133ad7da1db84447183ec3f311b825c0407.diff
Whiteboard:
Package list:
Runtime testing required: ---

Description Tomasz Regdos 2014-06-15 21:18:23 UTC
/var/tmp/portage/dev-php/ffmpeg-php-0.6.0-r2/work/php5.4/ffmpeg_movie.c:973:28: error: 'AVCodecContext' has no member named 'sub_id'
             if (decoder_ctx->sub_id == 2)
                            ^
/var/tmp/portage/dev-php/ffmpeg-php-0.6.0-r2/work/php5.4/ffmpeg_movie.c:975:33: error: 'AVCodecContext' has no member named 'sub_id'
             else if (decoder_ctx->sub_id == 1)
                                 ^

The problem solves - https://github.com/tony2001/ffmpeg-php/commit/9a98d133ad7da1db84447183ec3f311b825c0407.diff

Reproducible: Always

Steps to Reproduce:
1. emerge ffmpge >=2.2.x
2. emerge ffmpeg-php
Comment 1 Brian Evans (RETIRED) gentoo-dev 2014-10-02 20:42:51 UTC
+*ffmpeg-php-0.6.0-r3 (02 Oct 2014)
+
+  02 Oct 2014;  <grknight@gentoo.org> +ffmpeg-php-0.6.0-r3.ebuild,
+  +files/ffmpeg-php-0.6.0-api.patch:
+  Revbump; Fix bug 513384; drop 5.3; add 5.5 and 5.6