Mercurial > libavformat.hg
diff ogg2.c @ 1379:4146500158b5 libavformat
Rename ABS macro to FFABS.
author | diego |
---|---|
date | Wed, 11 Oct 2006 23:17:58 +0000 |
parents | 7474cc6383d4 |
children | 21755fe31dd7 |
line wrap: on
line diff
--- a/ogg2.c Wed Oct 11 16:57:00 2006 +0000 +++ b/ogg2.c Wed Oct 11 23:17:58 2006 +0000 @@ -605,7 +605,7 @@ pts = ogg_gptopts (s, i, ogg->streams[i].granule); p = url_ftell (bc); - if (ABS (pts - target_ts) * st->time_base.num < st->time_base.den) + if (FFABS (pts - target_ts) * st->time_base.num < st->time_base.den) break; if (pts > target_ts){ @@ -633,7 +633,7 @@ } } - if (ABS (pts - target_ts) * st->time_base.num < st->time_base.den){ + if (FFABS (pts - target_ts) * st->time_base.num < st->time_base.den){ ogg_restore (s, 1); ogg_reset (ogg); }else{