summaryrefslogtreecommitdiff
path: root/libavformat/argo_brp.c
diff options
context:
space:
mode:
authorZane van Iperen <zane@zanevaniperen.com>2020-09-25 23:03:46 +1000
committerZane van Iperen <zane@zanevaniperen.com>2020-09-27 09:11:29 +1000
commitebfed56858d5fc57f0b4bad7e08e9e89258702ba (patch)
treefa9a43eaf4fc016a9479aaf772681a5fd99af769 /libavformat/argo_brp.c
parentff5fcd0be02cc379ed5cfa3075d4d65c8c3da81f (diff)
avformat/argo_{asf,brp}: fix potential segfault in ff_argo_asf_fill_stream()
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
Diffstat (limited to 'libavformat/argo_brp.c')
-rw-r--r--libavformat/argo_brp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/argo_brp.c b/libavformat/argo_brp.c
index c417818639..a60de59f64 100644
--- a/libavformat/argo_brp.c
+++ b/libavformat/argo_brp.c
@@ -289,7 +289,7 @@ static int argo_brp_read_header(AVFormatContext *s)
ff_argo_asf_parse_chunk_header(&brp->basf.ckhdr, buf);
- if ((ret = ff_argo_asf_fill_stream(st, &hdr->extradata.basf, &brp->basf.ckhdr)) < 0)
+ if ((ret = ff_argo_asf_fill_stream(s, st, &hdr->extradata.basf, &brp->basf.ckhdr)) < 0)
return ret;
/* Convert ms to samples. */