James Almer
4e608e90eb
avformat/evc: fix writing reserved bits
...
They are all zeroes, not ones.
Signed-off-by: James Almer <jamrial@gmail.com>
2024-06-19 10:12:50 -03:00
James Almer
5191339f74
avformat/evc: remove useless struct field
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-06-19 10:03:04 -03:00
Andreas Rheinhardt
8f199cfb5b
avformat/evc: Fix format specifiers
...
Fixes -Wformat warnings; see e.g.
https://fate.ffmpeg.org/log.cgi?slot=aarch64-osx-clang-1200.0.32.29&time=20240604151047&log=compile
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2024-06-09 10:59:33 +02:00
Dawid Kozinski
e4da96c6b2
avformat/evc: Small fixes in documentation
...
Signed-off-by: Dawid Kozinski <d.kozinski@samsung.com>
2024-05-09 10:06:38 -03:00
Andreas Rheinhardt
790f793844
avutil/common: Don't auto-include mem.h
...
There are lots of files that don't need it: The number of object
files that actually need it went down from 2011 to 884 here.
Keep it for external users in order to not cause breakages.
Also improve the other headers a bit while just at it.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2024-03-31 00:08:43 +01:00
James Almer
6ff95758e6
avformat/evc: use get_ue_golomb_long()
...
This partially reverts commit d0fc1b3507c, which reintroduced a regression
originally fixed in 5e9986fd2d.
Signed-off-by: James Almer <jamrial@gmail.com>
2023-06-27 12:52:38 -03:00
James Almer
528dd5637d
avformat/evc: remove duplicate defines
...
Signed-off-by: James Almer <jamrial@gmail.com>
2023-06-23 08:37:23 -03:00
James Almer
3d1199dff6
avformat/evc: add range checks to evcc_parse_sps and return proper error codes
...
Signed-off-by: James Almer <jamrial@gmail.com>
2023-06-23 08:37:23 -03:00
James Almer
552879d621
avformat/evc: remove duplicate check
...
Signed-off-by: James Almer <jamrial@gmail.com>
2023-06-23 08:37:23 -03:00
James Almer
d0fc1b3507
avformat/evc: remove unnecessary struct
...
And don't use get_ue_golomb_long() for known small values.
Signed-off-by: James Almer <jamrial@gmail.com>
2023-06-23 08:37:23 -03:00
James Almer
c7183a22db
avformat/evc: move NALU length and type parsing functions to a header
...
Signed-off-by: James Almer <jamrial@gmail.com>
2023-06-21 13:31:14 -03:00
James Almer
17499f43b1
avformat/evc: remove unused variable
...
And check the correct one. Should fix use of uninitialized value warnings.
Signed-off-by: James Almer <jamrial@gmail.com>
2023-06-19 17:34:15 -03:00
James Almer
e81eafcb97
avformat/evc: skip nalu header size bytes before parsing sps
...
Signed-off-by: James Almer <jamrial@gmail.com>
2023-06-19 17:21:19 -03:00
James Almer
048b8bdd5e
avformat/evc: use get_bits_long() where needed
...
Signed-off-by: James Almer <jamrial@gmail.com>
2023-06-19 17:21:19 -03:00
James Almer
5e9986fd2d
avformat/evc: use get_ue_golomb_long()
...
Fixes compilation of shared libraries, as well as correctly parses
width and height values.
Signed-off-by: James Almer <jamrial@gmail.com>
2023-06-18 23:40:46 -03:00
Dawid Kozinski
a04ca05f4c
avformat/mov_muxer: Extended MOV muxer to handle EVC video content
...
- Changes in mov_write_video_tag function to handle EVC elementary stream
- Provided structure EVCDecoderConfigurationRecord that specifies the decoder configuration information for ISO/IEC 23094-1 video content
Signed-off-by: Dawid Kozinski <d.kozinski@samsung.com>
2023-06-15 09:57:41 -03:00