]> git.sesse.net Git - ffmpeg/commit
avformat/argo_asf: split functionality into a header
authorZane van Iperen <zane@zanevaniperen.com>
Sat, 5 Sep 2020 07:24:17 +0000 (17:24 +1000)
committerZane van Iperen <zane@zanevaniperen.com>
Mon, 14 Sep 2020 04:23:54 +0000 (14:23 +1000)
commit442249ef2801c60fdbc6b16880617417bd6085ba
tree8bb61bb23a8f9c98ba27492c250873964bf3139d
parent0476b6ee1eaa258c7b527de0f477f6b4c9838dab
avformat/argo_asf: split functionality into a header

For future use by the argo_brp demuxer.

Adds:
  - void ff_argo_asf_parse_file_header(ArgoASFFileHeader *hdr, const uint8_t *buf);
  - int  ff_argo_asf_validate_file_header(AVFormatContext *s, const ArgoASFFileHeader *hdr);
  - void ff_argo_asf_parse_chunk_header(ArgoASFChunkHeader *hdr, const uint8_t *buf);
  - int  ff_argo_asf_fill_stream(AVStream *st, const ArgoASFChunkHeader *ckhdr);

Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
libavformat/argo_asf.c
libavformat/argo_asf.h [new file with mode: 0644]