summarylogtreecommitdiffstats
path: root/loudgain-0.6.8.patch
blob: e21f0f9df851bee38b3a85fef2e5d5a1c3a7c7a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/scan.c~ b/src/scan.c
index 671353d..b46c4d3 100644
--- a/src/scan.c~
+++ b/src/scan.c
@@ -116,7 +116,7 @@ int scan_file(const char *file, unsigned index) {
 
 	AVFormatContext *container = NULL;
 
-	AVCodec *codec;
+	const AVCodec *codec;
 	AVCodecContext *ctx;
 
 	AVFrame *frame;