mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
10l
Originally committed as revision 2387 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ff49072013
commit
4b68410579
@ -251,13 +251,20 @@ static int nut_write_header(AVFormatContext *s)
|
||||
{
|
||||
int tmp = codec_get_bmp_tag(codec->codec_id);
|
||||
put_bi(bc, tmp);
|
||||
nom = codec->frame_rate;
|
||||
denom = codec->frame_rate_base;
|
||||
}
|
||||
else if (codec->codec_type == CODEC_TYPE_AUDIO)
|
||||
{
|
||||
int tmp = codec_get_wav_tag(codec->codec_id);
|
||||
put_bi(bc, tmp);
|
||||
}
|
||||
|
||||
if (codec->codec_type == CODEC_TYPE_VIDEO)
|
||||
{
|
||||
nom = codec->frame_rate;
|
||||
denom = codec->frame_rate_base;
|
||||
}
|
||||
else
|
||||
{
|
||||
nom = codec->sample_rate/8;
|
||||
denom = 8;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user