From: | "Markus Meier (maekke)" <maekke@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-gfx/blender/files: blender-2.48-ffmpeg-20081014.patch |
Date: | Thu, 16 Oct 2008 05:27:44 |
Message-Id: | E1KqLOe-0003YA-Bt@stork.gentoo.org |
1 | maekke 08/10/16 05:27:40 |
2 | |
3 | Added: blender-2.48-ffmpeg-20081014.patch |
4 | Log: |
5 | bump to 2.48 (bug #242202), with three revisions for different ffmpeg versions (-r2 is for media-video/ffmpeg-0.4.9_p20081014 with patch from bug #242058) |
6 | (Portage version: 2.2_rc12/cvs/Linux 2.6.27 i686) |
7 | |
8 | Revision Changes Path |
9 | 1.1 media-gfx/blender/files/blender-2.48-ffmpeg-20081014.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/blender/files/blender-2.48-ffmpeg-20081014.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/blender/files/blender-2.48-ffmpeg-20081014.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: blender-2.48-ffmpeg-20081014.patch |
15 | =================================================================== |
16 | Index: blender-2.47/source/blender/src/hddaudio.c |
17 | =================================================================== |
18 | --- blender-2.47.orig/source/blender/src/hddaudio.c |
19 | +++ blender-2.47/source/blender/src/hddaudio.c |
20 | @@ -302,7 +302,8 @@ static void sound_hdaudio_extract_small_ |
21 | audio_pkt_size = packet.size; |
22 | |
23 | while (audio_pkt_size > 0) { |
24 | - len = avcodec_decode_audio( |
25 | + data_size= AVCODEC_MAX_AUDIO_FRAME_SIZE; |
26 | + len = avcodec_decode_audio2( |
27 | hdaudio->pCodecCtx, |
28 | hdaudio->decode_cache |
29 | + decode_pos, |
30 | @@ -469,7 +470,8 @@ static void sound_hdaudio_extract_small_ |
31 | } |
32 | |
33 | while (audio_pkt_size > 0) { |
34 | - len = avcodec_decode_audio( |
35 | + data_size = AVCODEC_MAX_AUDIO_FRAME_SIZE; |
36 | + len = avcodec_decode_audio2( |
37 | hdaudio->pCodecCtx, |
38 | hdaudio->decode_cache |
39 | + decode_pos, |