File: codec.patch

package info (click to toggle)
tupi 0.2%2Bgit08-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 33,924 kB
  • sloc: cpp: 79,762; xml: 1,519; ruby: 1,029; sh: 123; makefile: 41
file content (20 lines) | stat: -rw-r--r-- 542 bytes parent folder | download | duplicates (3)
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;
 }