summaryrefslogtreecommitdiff
blob: ab66cd00a057c97a2595eeeb1b5cf0add28c4eaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Dont use pixel formats that have been deprecated for years. This fixes the build
against libavutil 50.0.0


Index: xvidcap-1.1.7/src/xtoffmpeg.c
===================================================================
--- xvidcap-1.1.7.orig/src/xtoffmpeg.c
+++ xvidcap-1.1.7/src/xtoffmpeg.c
@@ -96,7 +96,7 @@
                         || (x)==PIX_FMT_YUVJ420P || (x)==PIX_FMT_YUVJ422P \
                         || (x)==PIX_FMT_YUVJ444P)
 
-#define PIX_FMT_ARGB32 PIX_FMT_RGBA32  /* this is just my personal
+#define PIX_FMT_ARGB32 PIX_FMT_RGB32   /* this is just my personal
                                         * convenience */
 
 /*