22 lines
721 B
Diff
22 lines
721 B
Diff
|
diff -Nru blender-2.48a.orig/source/blender/src/hddaudio.c blender-2.48a/source/blender/src/hddaudio.c
|
||
|
--- blender-2.48a.orig/source/blender/src/hddaudio.c 2008-10-22 18:36:41.000000000 +0200
|
||
|
+++ blender-2.48a/source/blender/src/hddaudio.c 2008-11-17 15:13:24.000000000 +0100
|
||
|
@@ -311,7 +311,7 @@
|
||
|
audio_pkt_size = packet.size;
|
||
|
|
||
|
while (audio_pkt_size > 0) {
|
||
|
- len = avcodec_decode_audio(
|
||
|
+ len = avcodec_decode_audio2(
|
||
|
hdaudio->pCodecCtx,
|
||
|
hdaudio->decode_cache
|
||
|
+ decode_pos,
|
||
|
@@ -478,7 +478,7 @@
|
||
|
}
|
||
|
|
||
|
while (audio_pkt_size > 0) {
|
||
|
- len = avcodec_decode_audio(
|
||
|
+ len = avcodec_decode_audio2(
|
||
|
hdaudio->pCodecCtx,
|
||
|
hdaudio->decode_cache
|
||
|
+ decode_pos,
|