File: ffmpeg8-remove-avcodec_close.patch

package info (click to toggle)
performous 1.3.1%2Bds-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 63,368 kB
  • sloc: cpp: 35,854; sh: 927; python: 631; xml: 480; makefile: 37
file content (12 lines) | stat: -rw-r--r-- 385 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
Index: performous/game/ffmpeg.cc
===================================================================
--- performous.orig/game/ffmpeg.cc
+++ performous/game/ffmpeg.cc
@@ -306,7 +306,6 @@ void FFmpeg::avformat_close_input(AVForm
 }
 void FFmpeg::avcodec_free_context(AVCodecContext *avctx) {
 	if (avctx == nullptr) return;
-	avcodec_close(avctx);
 	::avcodec_free_context(&avctx);
 }