diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2009-01-17 11:13:33 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2009-01-17 11:13:33 +0000 |
commit | 9ce6c1387988bf3cdb631f3844e99a0c9bea43f2 (patch) | |
tree | bba423b9738e537a19c595ea0d78537dbe540991 /libavformat/riff.c | |
parent | 3194b004793b31b89445e7a15d06c9e4acbd2e55 (diff) | |
download | ffmpeg-9ce6c1387988bf3cdb631f3844e99a0c9bea43f2.tar.gz |
export gcd function as av_gcd()
Originally committed as revision 16653 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/riff.c')
-rw-r--r-- | libavformat/riff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/riff.c b/libavformat/riff.c index ed92187b56..73ebc91e09 100644 --- a/libavformat/riff.c +++ b/libavformat/riff.c @@ -466,7 +466,7 @@ void ff_parse_specific_params(AVCodecContext *stream, int *au_rate, int *au_ssiz *au_scale= stream->block_align ? stream->block_align*8 : 8; *au_rate = stream->bit_rate ? stream->bit_rate : 8*stream->sample_rate; } - gcd= ff_gcd(*au_scale, *au_rate); + gcd= av_gcd(*au_scale, *au_rate); *au_scale /= gcd; *au_rate /= gcd; } |