Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 487718 - =media-libs/xine-lib-1.2.3 - video_out_vaapi.c:2083:3: error: implicit declaration of function ‘av_free’ [-We rror=implicit-function-declaration]
Summary: =media-libs/xine-lib-1.2.3 - video_out_vaapi.c:2083:3: error: implicit declar...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-10-12 02:30 UTC by Matthias Bethke
Modified: 2014-06-22 17:47 UTC (History)
1 user (show)

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


Attachments
emerge --info =media-libs/xine-lib-1.2.3 (emerge-info,7.54 KB, text/plain)
2013-10-12 02:31 UTC, Matthias Bethke
Details
Fix for video_out_vaapi.c (video_out_vaapi.c.patch,111 bytes, patch)
2013-10-12 02:32 UTC, Matthias Bethke
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Bethke 2013-10-12 02:30:02 UTC
Compilation fails with this error and a few related ones:

video_out_vaapi.c: In function ‘vaapi_frame_dispose’:
video_out_vaapi.c:2083:3: error: implicit declaration of function ‘av_free’ [-We
rror=implicit-function-declaration]

This is due to a missing include in video_out_vaapi.c that was probably made necessary by the split between ffmpeg and libav. Strangely enough it doesn't seem to depend on USE=vaapi. I'm attaching a trivial patch to fix it.


Reproducible: Always

Steps to Reproduce:
1. emerge media-libs/xine-lib-1.2.3
2.
3.
Actual Results:  
Compilation fails with the above error message

Expected Results:  
Package compiled successfully
Comment 1 Matthias Bethke 2013-10-12 02:31:36 UTC
Created attachment 360678 [details]
emerge --info =media-libs/xine-lib-1.2.3
Comment 2 Matthias Bethke 2013-10-12 02:32:46 UTC
Created attachment 360680 [details, diff]
Fix for video_out_vaapi.c
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2014-06-22 17:47:22 UTC
I see this code in xine-lib-1.2.5, so nothing left to do here, closing as FIXED