mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-28 02:12:28 +00:00
100l, max value for timescale is UINT16_MAX
Originally committed as revision 20661 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
b37aa4de2d
commit
1bd26e51f3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user