mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-01 14:11:15 +00:00
oggstream: static forward declarations are forbidden by the C standard
...and actually cause compiler errors on VC++. Change it to an extern forward declaration and non-static definition.
This commit is contained in:
parent
ceb7ac6802
commit
5fd9fc13d5
1 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@ struct _GstOggMap
|
||||||
GstOggMapGranuleposToKeyGranuleFunc granulepos_to_key_granule_func;
|
GstOggMapGranuleposToKeyGranuleFunc granulepos_to_key_granule_func;
|
||||||
};
|
};
|
||||||
|
|
||||||
static const GstOggMap mappers[];
|
extern const GstOggMap mappers[];
|
||||||
|
|
||||||
GstClockTime
|
GstClockTime
|
||||||
gst_ogg_stream_get_packet_start_time (GstOggStream * pad, ogg_packet * packet)
|
gst_ogg_stream_get_packet_start_time (GstOggStream * pad, ogg_packet * packet)
|
||||||
|
@ -1557,7 +1557,7 @@ setup_kate_mapper (GstOggStream * pad, ogg_packet * packet)
|
||||||
|
|
||||||
/* *INDENT-OFF* */
|
/* *INDENT-OFF* */
|
||||||
/* indent hates our freedoms */
|
/* indent hates our freedoms */
|
||||||
static const GstOggMap mappers[] = {
|
const GstOggMap mappers[] = {
|
||||||
{
|
{
|
||||||
"\200theora", 7, 42,
|
"\200theora", 7, 42,
|
||||||
"video/x-theora",
|
"video/x-theora",
|
||||||
|
|
Loading…
Reference in a new issue