Mercurial > libavformat.hg
changeset 1442:c2b748de9b35 libavformat
Rename SWAP macro to FFSWAP.
author | diego |
---|---|
date | Wed, 01 Nov 2006 21:28:36 +0000 |
parents | ad3b03b7b142 |
children | 404048ea11bc |
files | utils.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/utils.c Wed Nov 01 21:09:14 2006 +0000 +++ b/utils.c Wed Nov 01 21:28:36 2006 +0000 @@ -2230,7 +2230,7 @@ for(i=1; i<delay+1 && st->pts_buffer[i] == AV_NOPTS_VALUE; i++) st->pts_buffer[i]= (i-delay-1) * pkt->duration; for(i=0; i<delay && st->pts_buffer[i] > st->pts_buffer[i+1]; i++) - SWAP(int64_t, st->pts_buffer[i], st->pts_buffer[i+1]); + FFSWAP(int64_t, st->pts_buffer[i], st->pts_buffer[i+1]); pkt->dts= st->pts_buffer[0]; }