From cc49c715a6f80df345ba0e5f7c948d3784224eaf Mon Sep 17 00:00:00 2001 From: nick black Date: Sat, 2 Jan 2021 01:56:37 -0500 Subject: [PATCH] ffmpeg: averr is a raw int --- src/lib/ffmpeg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ffmpeg.cpp b/src/lib/ffmpeg.cpp index 22303bf03..df6412afc 100644 --- a/src/lib/ffmpeg.cpp +++ b/src/lib/ffmpeg.cpp @@ -128,7 +128,7 @@ int ncvisual_decode(ncvisual* nc){ int averr; if((averr = av_read_frame(nc->details.fmtctx, nc->details.packet)) < 0){ /*if(averr != AVERROR_EOF){ - fprintf(stderr, "Error reading frame info (%s)\n", av_err2str(*averr)); + fprintf(stderr, "Error reading frame info (%s)\n", av_err2str(averr)); }*/ return averr2ncerr(averr); }