aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-11-01 21:28:36 +0000
committerDiego Biurrun <diego@biurrun.de>2006-11-01 21:28:36 +0000
commit1345f4ed6ce47a89b4200a7d865d6a19e99454da (patch)
tree68ab0fa8d1d068d2939a2245970071dabae0f3fa /libavformat
parente344c1ea36f228e2987e25327638771c4cedcd33 (diff)
downloadffmpeg-1345f4ed6ce47a89b4200a7d865d6a19e99454da.tar.gz
Rename SWAP macro to FFSWAP.
Originally committed as revision 6865 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index e396cf545c..d99ecc015b 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -2230,7 +2230,7 @@ static int compute_pkt_fields2(AVStream *st, AVPacket *pkt){
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];
}