Contents of /trunk/transcode/patches/transcode-1.0.3-libmpeg3-1.7.patch
Parent Directory | Revision Log
Revision 618 -
(show annotations)
(download)
Thu May 29 09:17:35 2008 UTC (16 years, 4 months ago) by niro
File size: 1852 byte(s)
Thu May 29 09:17:35 2008 UTC (16 years, 4 months ago) by niro
File size: 1852 byte(s)
-fixes for 1.0.3
1 | Submitted By: Chipster <chipster19@free.fr> |
2 | Date: 2007-06-02 |
3 | Initial Package Version: 1.0.3 |
4 | Upstream Status: Unknown |
5 | Origin: http://mirror.linux.org.mt/mirror/gentoo-portage/media-video/transcode/files |
6 | Description: |
7 | |
8 | --- transcode-1.0.3/import/import_mpeg3.c.orig 2006-09-09 23:39:08.598897708 +0200 |
9 | +++ transcode-1.0.3/import/import_mpeg3.c 2006-09-09 23:40:36.455540042 +0200 |
10 | @@ -68,7 +68,7 @@ |
11 | MOD_open |
12 | { |
13 | |
14 | - int i; |
15 | + int i,return_value; |
16 | |
17 | param->fd = NULL; |
18 | |
19 | @@ -79,14 +79,14 @@ |
20 | if (param->flag == TC_VIDEO) { |
21 | if (!file) { |
22 | if (!file_a) { |
23 | - if((file = mpeg3_open(vob->video_in_file))==NULL) { |
24 | + if((file = mpeg3_open(vob->video_in_file, &return_value))==NULL) { |
25 | fprintf(stderr, "open file failed\n"); |
26 | return(TC_IMPORT_ERROR); |
27 | } |
28 | if (verbose & TC_DEBUG) |
29 | printf("[%s] Opened video NO copy\n", MOD_NAME); |
30 | } else if (file_a) { |
31 | - if((file = mpeg3_open_copy(vob->video_in_file, file_a))==NULL) { |
32 | + if((file = mpeg3_open_copy(vob->video_in_file, file_a, &return_value))==NULL) { |
33 | fprintf(stderr, "open file failed\n"); |
34 | return(TC_IMPORT_ERROR); |
35 | } |
36 | @@ -98,14 +98,14 @@ |
37 | if (param->flag == TC_AUDIO) { |
38 | if (!file_a) { |
39 | if (!file) { |
40 | - if((file_a = mpeg3_open(vob->audio_in_file))==NULL) { |
41 | + if((file_a = mpeg3_open(vob->audio_in_file, &return_value))==NULL) { |
42 | fprintf(stderr, "open audio file failed\n"); |
43 | return(TC_IMPORT_ERROR); |
44 | } |
45 | if (verbose & TC_DEBUG) |
46 | printf("[%s] Opened audio NO copy\n", MOD_NAME); |
47 | } else if (file) { |
48 | - if((file_a = mpeg3_open_copy(vob->audio_in_file, file))==NULL) { |
49 | + if((file_a = mpeg3_open_copy(vob->audio_in_file, file, &return_value))==NULL) { |
50 | fprintf(stderr, "open_copy audio file failed\n"); |
51 | return(TC_IMPORT_ERROR); |
52 | } |