Searched refs:rate_base (Results 1 – 1 of 1) sorted by relevance
/third_party/ffmpeg/libavformat/ |
D | swfenc.c | 198 int i, width, height, rate, rate_base; in swf_write_header() local 243 rate_base= 1; in swf_write_header() 249 rate_base = swf->video_st->time_base.num; in swf_write_header() 253 swf->samples_per_frame = (44100LL * rate_base) / rate; in swf_write_header() 255 swf->samples_per_frame = (swf->audio_par->sample_rate * rate_base) / rate; in swf_write_header() 277 if ((rate * 256LL) / rate_base >= (1<<16)) { in swf_write_header() 278 av_log(s, AV_LOG_ERROR, "Invalid (too large) frame rate %d/%d\n", rate, rate_base); in swf_write_header() 281 avio_wl16(pb, (rate * 256LL) / rate_base); /* frame rate */ in swf_write_header() 283 avio_wl16(pb, (uint16_t)(DUMMY_DURATION * (int64_t)rate / rate_base)); /* frame count */ in swf_write_header()
|