diff mbox series

[FFmpeg-devel,08/10] avformat/argo_brp: don't pass AVStream into avpriv_request_sample()

Message ID 20200920080528.26200-9-zane@zanevaniperen.com
State Accepted
Commit b0dee629da132f31934d58104c209d1ab3c1cb79
Headers show
Series argo_brp cleanups and fixes
Related show

Commit Message

Zane van Iperen Sept. 20, 2020, 8:07 a.m. UTC
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
---
 libavformat/argo_brp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/libavformat/argo_brp.c b/libavformat/argo_brp.c
index ad54420283..75587b24c0 100644
--- a/libavformat/argo_brp.c
+++ b/libavformat/argo_brp.c
@@ -275,7 +275,7 @@  static int argo_brp_read_header(AVFormatContext *s)
         blk.size      = AV_RL32(buf + 8);
 
         if (blk.stream_id != brp->basf.index) {
-            avpriv_request_sample(st, "first block not BASF");
+            avpriv_request_sample(s, "first block not BASF");
             return AVERROR_PATCHWELCOME;
         }