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 492419 - Build issues on Windows/MSVC
Build issues on Windows/MSVC
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-libav
0.10.2
Other All
: Normal normal
: 0.10.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-11-01 17:36 UTC by Ole André Vadla Ravnås
Modified: 2007-11-03 18:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Two trivial fixes, (916 bytes, patch)
2007-11-01 17:42 UTC, Ole André Vadla Ravnås
committed Details | Review

Description Ole André Vadla Ravnås 2007-11-01 17:36:54 UTC
Please describe the problem:
gst-ffmpeg doesn't build properly on Windows/MSVC (MSVS2005).

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Ole André Vadla Ravnås 2007-11-01 17:42:29 UTC
Created attachment 98335 [details] [review]
Two trivial fixes,

ext/ffmpeg/gstffmpegcodecmap.c:
MSVC isn't too hot about void * + offset.

ext/ffmpeg/gstffmpegmux.c:
Use g_snprintf instead of snprintf to be more portable (for systems with non-compliant snprintf GLib could supply a replacement) and avoid a Windows-specific include.
Comment 2 Edward Hervey 2007-11-03 18:26:05 UTC
2007-11-03  Edward Hervey  <bilboed@bilboed.com>

        Patch by: Ole André Vadla Ravnås <ole dot andre dot ravnas at tandberg dot com>

        * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_caps_with_codecid):
        * ext/ffmpeg/gstffmpegmux.c: (gst_ffmpegmux_init):