diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-11-29 18:26:51 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-11-29 18:26:51 +0000 |
commit | 1bd26e51f350b20d417eec57e8185c3ad83589c6 (patch) | |
tree | 564185a624066406e90a4d9184c2e44ba5a2b97d /libavformat | |
parent | b37aa4de2deb79aeb2b8c52a1696d796cde7ce72 (diff) | |
download | ffmpeg-1bd26e51f350b20d417eec57e8185c3ad83589c6.tar.gz |
100l, max value for timescale is UINT16_MAX
Originally committed as revision 20661 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/movenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 2ed2c9bf15..fe26cf01c0 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -1852,7 +1852,7 @@ static int mov_write_header(AVFormatContext *s) track->sampleSize = (av_get_bits_per_sample(st->codec->codec_id) >> 3) * st->codec->channels; } if (track->mode != MODE_MOV) { - if (track->timescale > INT16_MAX) { + if (track->timescale > UINT16_MAX) { av_log(s, AV_LOG_ERROR, "track %d: output format does not support " "sample rate %dhz\n", i, track->timescale); goto error; |