Commit 4b684105 authored by Alex Beregszaszi's avatar Alex Beregszaszi

10l

Originally committed as revision 2387 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent ff490720
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment