After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 689751 - Missing include in gstavutils.c
Missing include in gstavutils.c
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-libav
git master
Other Windows
: Normal normal
: 1.1.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-12-06 02:44 UTC by LRN
Modified: 2012-12-06 09:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Includes stdlib.h (684 bytes, patch)
2012-12-06 02:45 UTC, LRN
committed Details | Review

Description LRN 2012-12-06 02:44:32 UTC
gstavutils.c: In function 'gst_ffmpeg_auto_max_threads':
gstavutils.c:466:7: error: implicit declaration of function 'getenv' [-Werror=implicit-function-declaration]
gstavutils.c:466:7: error: nested extern declaration of 'getenv' [-Werror=nested-externs]
gstavutils.c:466:23: error: initialization makes pointer from integer without a cast [-Werror]
gstavutils.c:468:9: error: implicit declaration of function 'atoi' [-Werror=implicit-function-declaration]
gstavutils.c:468:9: error: nested extern declaration of 'atoi' [-Werror=nested-externs]
Comment 1 LRN 2012-12-06 02:45:24 UTC
Created attachment 230867 [details] [review]
Includes stdlib.h
Comment 2 Sebastian Dröge (slomo) 2012-12-06 09:46:48 UTC
commit b7471c1f5bc8f0d97b39d0b33183020cc6f1ab7d
Author: Руслан Ижбулатов <lrn1986@gmail.com>
Date:   Thu Dec 6 06:29:13 2012 +0400

    avutils: Add missing includes for Windows
    
    Fixes #689751