[FFmpeg-devel] [PATCH 2/6] avformat/argo_asf: rename ArgoASFDemuxContext to ArgoASFContext

Zane van Iperen zane at zanevaniperen.com
Sat Aug 8 11:00:43 EEST 2020


Signed-off-by: Zane van Iperen <zane at zanevaniperen.com>
---
 libavformat/argo_asf.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/libavformat/argo_asf.c b/libavformat/argo_asf.c
index beec46a0d4..52e37f9c10 100644
--- a/libavformat/argo_asf.c
+++ b/libavformat/argo_asf.c
@@ -63,11 +63,11 @@ enum {
     ASF_CF_ALWAYS0          = ~(ASF_CF_BITS_PER_SAMPLE | ASF_CF_STEREO | ASF_CF_ALWAYS1)
 };
 
-typedef struct ArgoASFDemuxContext {
+typedef struct ArgoASFContext {
     ArgoASFFileHeader   fhdr;
     ArgoASFChunkHeader  ckhdr;
     uint32_t            blocks_read;
-} ArgoASFDemuxContext;
+} ArgoASFContext;
 
 #if CONFIG_ARGO_ASF_DEMUXER
 static void argo_asf_parse_file_header(ArgoASFFileHeader *hdr, const uint8_t *buf)
@@ -104,7 +104,7 @@ static int argo_asf_read_header(AVFormatContext *s)
     int64_t ret;
     AVIOContext *pb = s->pb;
     AVStream *st;
-    ArgoASFDemuxContext *asf = s->priv_data;
+    ArgoASFContext *asf = s->priv_data;
     uint8_t buf[FFMAX(ASF_FILE_HEADER_SIZE, ASF_CHUNK_HEADER_SIZE)];
 
     if (!(st = avformat_new_stream(s, NULL)))
@@ -198,7 +198,7 @@ static int argo_asf_read_header(AVFormatContext *s)
 
 static int argo_asf_read_packet(AVFormatContext *s, AVPacket *pkt)
 {
-    ArgoASFDemuxContext *asf = s->priv_data;
+    ArgoASFContext *asf = s->priv_data;
 
     AVStream *st = s->streams[0];
     AVIOContext *pb = s->pb;
@@ -227,7 +227,7 @@ static int argo_asf_read_packet(AVFormatContext *s, AVPacket *pkt)
 AVInputFormat ff_argo_asf_demuxer = {
     .name           = "argo_asf",
     .long_name      = NULL_IF_CONFIG_SMALL("Argonaut Games ASF"),
-    .priv_data_size = sizeof(ArgoASFDemuxContext),
+    .priv_data_size = sizeof(ArgoASFContext),
     .read_probe     = argo_asf_probe,
     .read_header    = argo_asf_read_header,
     .read_packet    = argo_asf_read_packet
-- 
2.25.1




More information about the ffmpeg-devel mailing list