# HG changeset patch # User conrad # Date 1267928794 0 # Node ID 14f90d20ef05dd37c6faa753c1e4a98ec31aaabf # Parent 87a2727fd609f14c6f1cae78894c8f3e536802be Fix warning about incompatible pointer types diff -r 87a2727fd609 -r 14f90d20ef05 oggparsedirac.c --- a/oggparsedirac.c Sun Mar 07 02:26:30 2010 +0000 +++ b/oggparsedirac.c Sun Mar 07 02:26:34 2010 +0000 @@ -47,9 +47,10 @@ } // various undocument things: granule is signed (only for dirac!) -static uint64_t dirac_gptopts(AVFormatContext *s, int idx, int64_t gp, +static uint64_t dirac_gptopts(AVFormatContext *s, int idx, uint64_t granule, int64_t *dts_out) { + int64_t gp = granule; struct ogg *ogg = s->priv_data; struct ogg_stream *os = ogg->streams + idx;