File: 1003-fix-FTBFS-ffmpeg_1.0.x.patch

package info (click to toggle)
shotdetect 1.0.86-6
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,056 kB
  • sloc: sh: 8,676; cpp: 1,460; makefile: 45; ansic: 7
file content (15 lines) | stat: -rw-r--r-- 346 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Fix FTBFS with ffmpeg 1.0.x by replacing deprecated functions
Author: Peter B. <pb@das-werkstatt.com>
Forwarded: no
Last-Update: 2013-08-10
--- a/src/film.cpp
+++ b/src/film.cpp
@@ -455,7 +455,7 @@
   /*
    * Close the video file 
    */
-  av_close_input_file (pFormatCtx);
+  avformat_close_input (&pFormatCtx);
 
   return 0;
 }