summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/blender/files/blender-2.48-ffmpeg-20081014.patch')
-rw-r--r--media-gfx/blender/files/blender-2.48-ffmpeg-20081014.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/media-gfx/blender/files/blender-2.48-ffmpeg-20081014.patch b/media-gfx/blender/files/blender-2.48-ffmpeg-20081014.patch
new file mode 100644
index 0000000..93ae633
--- /dev/null
+++ b/media-gfx/blender/files/blender-2.48-ffmpeg-20081014.patch
@@ -0,0 +1,25 @@
+Index: blender-2.47/source/blender/src/hddaudio.c
+===================================================================
+--- blender-2.47.orig/source/blender/src/hddaudio.c
++++ blender-2.47/source/blender/src/hddaudio.c
+@@ -302,7 +302,8 @@ static void sound_hdaudio_extract_small_
+ audio_pkt_size = packet.size;
+
+ while (audio_pkt_size > 0) {
+- len = avcodec_decode_audio(
++ data_size= AVCODEC_MAX_AUDIO_FRAME_SIZE;
++ len = avcodec_decode_audio2(
+ hdaudio->pCodecCtx,
+ hdaudio->decode_cache
+ + decode_pos,
+@@ -469,7 +470,8 @@ static void sound_hdaudio_extract_small_
+ }
+
+ while (audio_pkt_size > 0) {
+- len = avcodec_decode_audio(
++ data_size = AVCODEC_MAX_AUDIO_FRAME_SIZE;
++ len = avcodec_decode_audio2(
+ hdaudio->pCodecCtx,
+ hdaudio->decode_cache
+ + decode_pos,
+