mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-30 04:02:04 +08:00
Merge remote-tracking branch 'qatar/master'
* qatar/master: nuv: K&R formatting cosmetics build: generalise rules and variable settings for av* programs nuv: check RTjpeg header for validity Revert "nuv: check per-frame header for validity." imc: remove unused field IMCContext.one_div_log2 imc: fix size of a memset() imc: remove empty if() block fate: simplify variable setting filter.mak lavf: Declare an AVRational struct without a struct literal Conflicts: Makefile configure libavcodec/nuv.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -2798,7 +2798,7 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
|
||||
/* round guessed framerate to a "standard" framerate if it's
|
||||
* within 1% of the original estimate*/
|
||||
for (j = 1; j < MAX_STD_TIMEBASES; j++) {
|
||||
AVRational std_fps = (AVRational){get_std_framerate(j), 12*1001};
|
||||
AVRational std_fps = { get_std_framerate(j), 12*1001 };
|
||||
double error = fabs(av_q2d(st->avg_frame_rate) / av_q2d(std_fps) - 1);
|
||||
|
||||
if (error < best_error) {
|
||||
|
||||
Reference in New Issue
Block a user