Clément Bœsch
549045254c
Fix all -Wformat warnings raised by DJGPP
8 years ago
Michael Niedermayer
b46dcd5209
avutil/timecode: Fix fps check
...
The fps variable is explicitly set to -1 in case of some errors, the check must
thus be signed or the code setting it needs to use 0 as error code
the type of the field could be changed as well but its in an installed header
Fixes: integer overflow
Fixes: 9982cc157b1ea90429435640a989122f/asan_generic_3ad004a_3799_22cf198d9cd09928e2d9ad250474fa58.mov
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Vittorio Giovara
63ea8e0610
timecode: Support HFR values
9 years ago
Vittorio Giovara
8c22148220
timecode: Do not fail for non-standard framerates
...
Instead just warn, and use the parse fps normally.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Thierry Foucu
12875df324
Timecode: Support 48fps
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Jason
77b740ac0a
lavu/timecode: fix time code calculation for 60000/1001 drop frame
...
Reviewed-by: Matthieu Bouron <matthieu.bouron@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Jason
a717fa84ed
lavu/timecode: Allow drop frame mode for 60000/1001 fps
...
Reviewed-by: Matthieu Bouron <matthieu.bouron@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
74a50e75a8
lavu: drop disabled FF_API_OLD_TC_ADJUST_FRAMENUM code
12 years ago
Clément Bœsch
4b365b0868
lavu/timecode: add av_timecode_check_frame_rate().
12 years ago
Clément Bœsch
1f68be4764
timecode: show frame rate when invalid.
12 years ago
Matthieu Bouron
789f8cb03a
avutil: support 50 and 60 frame rates in timecode api
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
9477fa094b
lavu/timecode: use @see for URL in doxygen.
13 years ago
Clément Bœsch
0eaa123b34
lavu: add public timecode API.
13 years ago