Package: tupi / 0.2+git08-6

codec.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: use AV_CODEC_FLAG_GLOBAL_HEADER

 Inspired by ffmpeg_4.patch

Author: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Forwarded: no

---

--- tupi-0.2+git08.orig/src/plugins/export/libavplugin/tlibavmoviegenerator.cpp
+++ tupi-0.2+git08/src/plugins/export/libavplugin/tlibavmoviegenerator.cpp
@@ -153,7 +153,7 @@ static AVStream *addVideoStream(AVFormat
     }
 
     if (oc->oformat->flags & AVFMT_GLOBALHEADER)
-        c->flags |= CODEC_FLAG_GLOBAL_HEADER;
+        c->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;
 	
     return st;
 }