[transcode] add lost patch

Leigh Scott leigh123linux at rpmfusion.org
Sat Sep 17 10:33:16 CEST 2016


commit 9bdb9e63eefa10677ca770ffd0f90ba2bdc0eb67
Author: leigh123linux <leigh123linux at googlemail.com>
Date:   Sat Sep 17 09:33:12 2016 +0100

    add lost patch

 transcode-ffmpeg3.patch | 21 +++++++++++++++++++++
 transcode.spec          |  5 ++++-
 2 files changed, 25 insertions(+), 1 deletion(-)
---
diff --git a/transcode-ffmpeg3.patch b/transcode-ffmpeg3.patch
index efc928f..5b33c14 100644
--- a/transcode-ffmpeg3.patch
+++ b/transcode-ffmpeg3.patch
@@ -211,3 +211,24 @@
      {"MPG2", ""}},
    {0, TC_CODEC_UNKNOWN, NULL, {""}}};
  
+--- a/export/aud_aux.c
++++ b/export/aud_aux.c
+@@ -867,7 +867,7 @@
+     ac_memcpy(&mpa_buf[mpa_buf_ptr], in_buf, bytes_needed);
+ 
+     TC_LOCK_LIBAVCODEC;
+-    out_size = avcodec_encode_audio(&mpa_ctx, (unsigned char *)output,
++    out_size = avcodec_encode_audio2(&mpa_ctx, (unsigned char *)output,
+                     OUTPUT_SIZE, (short *)mpa_buf);
+     TC_UNLOCK_LIBAVCODEC;
+     tc_audio_write(output, out_size, avifile);
+@@ -894,7 +894,7 @@
+ 
+     while (in_size >= mpa_bytes_pf) {
+       TC_LOCK_LIBAVCODEC;
+-      out_size = avcodec_encode_audio(&mpa_ctx, (unsigned char *)output,
++      out_size = avcodec_encode_audio2(&mpa_ctx, (unsigned char *)output,
+                       OUTPUT_SIZE, (short *)in_buf);
+       TC_UNLOCK_LIBAVCODEC;
+ 
+
diff --git a/transcode.spec b/transcode.spec
index be9064e..c8516a5 100644
--- a/transcode.spec
+++ b/transcode.spec
@@ -4,7 +4,7 @@
 
 Name:           transcode
 Version:        1.1.7
-Release:        15%{?dist}
+Release:        16%{?dist}
 Summary:        Video stream processing tool
 
 Group:          Applications/Multimedia
@@ -176,6 +176,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 
 
 %changelog
+* Sat Sep 17 2016 Leigh Scott <leigh123linux at googlemail.com> - 1.1.7-16
+- Add patch
+
 * Sat Sep 17 2016 Leigh Scott <leigh123linux at googlemail.com> - 1.1.7-15
 - Patch to rename avcodec_encode_audio to avcodec_encode_audio2 rfbz#4262
 


More information about the rpmfusion-commits mailing list