diff options
author | Diego Biurrun <diego@biurrun.de> | 2006-11-01 21:28:36 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-11-01 21:28:36 +0000 |
commit | 1345f4ed6ce47a89b4200a7d865d6a19e99454da (patch) | |
tree | 68ab0fa8d1d068d2939a2245970071dabae0f3fa /libavformat/utils.c | |
parent | e344c1ea36f228e2987e25327638771c4cedcd33 (diff) | |
download | ffmpeg-1345f4ed6ce47a89b4200a7d865d6a19e99454da.tar.gz |
Rename SWAP macro to FFSWAP.
Originally committed as revision 6865 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 2 |
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]; } |