File: ffmpeg8.patch

package info (click to toggle)
amide 1.0.6-8.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,064 kB
  • sloc: ansic: 53,529; cpp: 2,332; xml: 1,995; makefile: 679; sh: 129
file content (17 lines) | stat: -rw-r--r-- 545 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Author: Andreas Tille <tille@debian.org>
Last-Update: 2025-12-14
Bug-Debian: https://bugs.debian.org/1122886
Description: Build using ffmpeg 8.0
Forwarded: https://github.com/ferdymercury/amide/issues/35

--- a/amide-current/src/mpeg_encode.c
+++ b/amide-current/src/mpeg_encode.c
@@ -169,7 +169,7 @@ static encode_t * encode_free(encode_t *
     return encode;
 
   if (encode->context != NULL) {
-    avcodec_close(encode->context);
+    avcodec_free_context(&encode->context);
     av_free(encode->context);
     encode->context = NULL;
   }