Mercurial > libavformat.hg
changeset 5763:14f90d20ef05 libavformat
Fix warning about incompatible pointer types
author | conrad |
---|---|
date | Sun, 07 Mar 2010 02:26:34 +0000 |
parents | 87a2727fd609 |
children | 99068df75916 |
files | oggparsedirac.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
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;