aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/apvdec.c
Commit message (Collapse)AuthorAgeFilesLines
* avformat/apvdec: add framerate optionDawid Kozinski2025-06-271-2/+25
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/apvdec: remove unused variableMarvin Scholz2025-05-091-1/+0
|
* avformat/apvdec: also look for an au_info PBU during probingJames Almer2025-05-041-1/+18
| | | | | | If present, an Access unit information PBU must be the first in an AU. Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/apvdec: don't fill container level fields with codec level infoJames Almer2025-05-011-40/+6
| | | | | | | | | This is a raw demuxer, it should not read codec level information and export it as container level information. The generic demux code will use the recently introduced parser to take care of that. Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/apvdec: Remove inappropriate INIT_CLEANUP flagAndreas Rheinhardt2025-04-301-1/+0
| | | | | | | | The init-cleanup flag makes no sense for a demuxer without a read_close() function. Reviewed-by: Mark Thompson <sw@jkqxz.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avformat/apvdec: Fix seekingAndreas Rheinhardt2025-04-301-0/+1
| | | | | | | | pkt->pos pointed to the actual packet data, not to the start of the access unit. Reviewed-by: Mark Thompson <sw@jkqxz.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avformat/apvdec: Check before accessAndreas Rheinhardt2025-04-301-2/+4
| | | | | | | | | | The signature check would segfault in case the packet could not be allocated or if nothing could be read. Furthermore, read_packet callbacks are supposed to return zero on success, yet the current code returned the size of the packet. Reviewed-by: Mark Thompson <sw@jkqxz.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avformat/apvdec: Use ffio_read_size()Andreas Rheinhardt2025-04-301-1/+1
| | | | | | | Fixes potential use of uninitialized data. Reviewed-by: Mark Thompson <sw@jkqxz.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* lavf: APV demuxerMark Thompson2025-04-271-0/+248
Demuxes raw streams as defined in draft spec section 10.2.