Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 540090 - media-video/noad-0.8.6-r1 with media-video/ffmpeg-2.5.3 - ffmpeg_decoder.cpp:256:33: error: 'av_close_input_file' was not declared in this scope
Summary: media-video/noad-0.8.6-r1 with media-video/ffmpeg-2.5.3 - ffmpeg_decoder.cpp:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo VDR Project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: ffmpeg-2.4
  Show dependency tree
 
Reported: 2015-02-14 19:08 UTC by Erich Seifert
Modified: 2015-02-15 10:19 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (media-video:noad-0.8.6-r1:20150214-185539.log,27.03 KB, text/plain)
2015-02-14 19:08 UTC, Erich Seifert
Details
noad-0.8.6-ffmpeg-2.4.patch (noad-0.8.6-ffmpeg-2.4.patch,410 bytes, patch)
2015-02-14 19:25 UTC, Erich Seifert
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Erich Seifert 2015-02-14 19:08:16 UTC
media-video/noad-0.8.6-r1 doesn't compile with >=media-video/ffmpeg-2.4.

Reproducible: Always

Steps to Reproduce:
1. emerge =media-video/noad-0.8.6-r1
2. emerge =media-video/ffmpeg-2.5.3
Actual Results:  
ffmpeg_decoder.cpp: In member function 'virtual int FFMPegDecoder::decoder_exit()':
ffmpeg_decoder.cpp:256:33: error: 'av_close_input_file' was not declared in this scope
   av_close_input_file(pFormatCtx);
                                 ^


Expected Results:  
build successfully

# emerge -pqv '=media-video/noad-0.8.6-r1::gentoo'
[ebuild   R   ] media-video/noad-0.8.6-r1  USE="ffmpeg -imagemagick -libmpeg2"
Comment 1 Erich Seifert 2015-02-14 19:08:47 UTC
Created attachment 396456 [details]
build.log
Comment 2 Erich Seifert 2015-02-14 19:25:50 UTC
Created attachment 396458 [details, diff]
noad-0.8.6-ffmpeg-2.4.patch

Attaching a possible patch I found on Arch <https://aur.archlinux.org/packages/noad/>. I haven't tested it yet.
Comment 3 Alexis Ballier gentoo-dev 2015-02-15 10:19:59 UTC
applied a similar patch but with #if guards, thanks