1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

- Enable some depreciated library functions to fix build of

multimedia/mjpegtools
- Bump PORTREVISION
This commit is contained in:
Michael Johnson 2005-03-02 08:16:19 +00:00
parent a6716d086f
commit 1a78f9dac6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=130158
3 changed files with 37 additions and 0 deletions

View File

@ -8,6 +8,7 @@
PORTNAME= libquicktime
PORTVERSION= 0.9.4
PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ${PORTNAME}

View File

@ -0,0 +1,18 @@
--- src/lqt_codecs.c.orig Wed Mar 2 03:10:55 2005
+++ src/lqt_codecs.c Wed Mar 2 03:11:08 2005
@@ -787,7 +787,6 @@
((quicktime_codec_t*)file->vtracks[track].codec)->flush(file, track);
}
-#if 0
int64_t quicktime_samples_to_bytes(quicktime_trak_t *track, long samples)
{
char *compressor = track->mdia.minf.stbl.stsd.table[0].format;
@@ -802,7 +801,6 @@
/* Default use the sample size specification for TWOS and RAW */
return samples * channels * track->mdia.minf.stbl.stsd.table[0].sample_size / 8;
}
-#endif
int quicktime_codecs_flush(quicktime_t *file)
{
int result = 0;

View File

@ -0,0 +1,18 @@
--- src/lqt_quicktime.c.orig Wed Mar 2 03:01:19 2005
+++ src/lqt_quicktime.c Wed Mar 2 03:01:34 2005
@@ -1018,7 +1018,6 @@
return result;
}
-#if 0 /* This function is obsolete as it makes no sense for compressed codecs */
long quicktime_read_audio(quicktime_t *file, char *audio_buffer, long samples, int track)
{
int64_t chunk_sample, chunk;
@@ -1058,7 +1057,6 @@
if(result) return 0;
return total_bytes;
}
-#endif
int quicktime_read_chunk(quicktime_t *file, char *output, int track, int64_t chunk, int64_t byte_start, int64_t byte_len)
{