1. Amit Aronovitch
  2. Xpra

Commits

ant...@3bb7dfac-3a0b-4e04-842a-767bc560f471  committed d58ff47

patch for squeeze and older

  • Participants
  • Parent commits 41bdc1b
  • Branches default

Comments (0)

Files changed (2)

File debian/patches/old-libav.patch

View file
  • Ignore whitespace
+Description: Build against old versions of libav.
+ Author: Antoine Martin <antoine@devloop.org.uk>
+ Forwarded: not-needed
+ 
+--- a/xpra/x264/x264lib.c	(revision 2661)
++++ b/xpra/x264/x264lib.c	(working copy)
+@@ -440,7 +440,7 @@
+ 		sws_freeContext(ctx->yuv2rgb);
+ 		ctx->yuv2rgb = NULL;
+ 	}
+-	avcodec_free_frame(&ctx->frame);
++	av_free(&ctx->frame);
+ }
+ void clean_decoder(struct x264lib_ctx *ctx)
+ {

File src/patches/old-libav.patch

View file
  • Ignore whitespace
+Description: Build against old versions of libav.
+ Author: Antoine Martin <antoine@devloop.org.uk>
+ Forwarded: not-needed
+ 
+--- a/xpra/x264/x264lib.c	(revision 2661)
++++ b/xpra/x264/x264lib.c	(working copy)
+@@ -440,7 +440,7 @@
+ 		sws_freeContext(ctx->yuv2rgb);
+ 		ctx->yuv2rgb = NULL;
+ 	}
+-	avcodec_free_frame(&ctx->frame);
++	av_free(&ctx->frame);
+ }
+ void clean_decoder(struct x264lib_ctx *ctx)
+ {