History

avcodec: add AVCodecContext.frame_num as 64 bit variant to frame_number

Frame counters can overflow relatively easily (INT_MAX number of frames is slightly more than 1 year for 60 fps content), so make sure we use 64 bit values for them. Also deprecate the old 32 bit frame_number attribute.

Marton Balint committed 3 years ago

Commit 6b6f7db1 parent e506ea351 files · +146 −96Browse files

Showing the changes to doc/APIchanges (1 of 51 files). Show all

Unified · Split

doc/APIchanges+4−0
@@ -2,6 +2,10 @@ The last version increases of all libraries were on 2023-02-09 · 1 unmodified line
22
33 API changes, most recent first:
44
5+2023-02-13 - xxxxxxxxxx - lavc 60.2.100 - avcodec.h
6+ Add AVCodecContext.frame_num as a 64bit version of frame_number.
7+ Deprecate AVCodecContext.frame_number.
8+
59 2023-02-12 - xxxxxxxxxx - lavfi 9.1.100 - avfilter.h
610 Add filtergraph segment parsing API.
711 New structs:

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t