diff mbox series

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

Message ID 20200808075914.2296555-2-zane@zanevaniperen.com
State Superseded
Headers show
Series [FFmpeg-devel,1/6] avformat/argo_asf: don't check or probe file version
Related show

Checks

Context Check Description
andriy/default pending
andriy/make success Make finished
andriy/make_fate success Make fate finished

Commit Message

Zane van Iperen Aug. 8, 2020, 8 a.m. UTC
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
---
 libavformat/argo_asf.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
diff mbox series

Patch

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