Mercurial > libavformat.hg
diff oggparsedirac.c @ 5763:14f90d20ef05 libavformat
Fix warning about incompatible pointer types
author | conrad |
---|---|
date | Sun, 07 Mar 2010 02:26:34 +0000 |
parents | 52c7b29eca31 |
children | 536e5527c1e0 |
line wrap: on
line diff
--- 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;