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
@ -78,7 +78,7 @@ struct _GstOggMap
|
||||
GstOggMapGranuleposToKeyGranuleFunc granulepos_to_key_granule_func;
|
||||
};
|
||||
|
||||
static const GstOggMap mappers[];
|
||||
extern const GstOggMap mappers[];
|
||||
|
||||
GstClockTime
|
||||
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 hates our freedoms */
|
||||
static const GstOggMap mappers[] = {
|
||||
const GstOggMap mappers[] = {
|
||||
{
|
||||
"\200theora", 7, 42,
|
||||
"video/x-theora",
|
||||
|
Loading…
x
Reference in New Issue
Block a user