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 530611 - [gstsrtenc] declare variables at beginning of block
[gstsrtenc] declare variables at beginning of block
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.10.7
Other Linux
: Normal normal
: 0.10.8
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-04-29 19:04 UTC by Jens Granseuer
Modified: 2008-04-29 19:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
C89 fix (760 bytes, patch)
2008-04-29 19:05 UTC, Jens Granseuer
committed Details | Review

Description Jens Granseuer 2008-04-29 19:04:36 UTC
Attached patch fixes compiling with gcc 2.x (and other oldish compilers).
Comment 1 Jens Granseuer 2008-04-29 19:05:09 UTC
Created attachment 110122 [details] [review]
C89 fix
Comment 2 Sebastian Dröge (slomo) 2008-04-29 19:11:32 UTC
Thanks :)

2008-04-29  Sebastian Dröge  <slomo@circular-chaos.org>

        Patch by: Jens Granseuer <jensgr at gmx dot net>

        * gst/subenc/gstsrtenc.c: (gst_srt_enc_timestamp_to_string):
        Declare variables at the beginning of blocks. Fixes compilation with
        gcc 2.x and other compilers. Fixes bug #530611.