mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Enable some depreciated library functions to fix build of
multimedia/mjpegtools - Bump PORTREVISION
This commit is contained in:
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
|
@ -8,6 +8,7 @@
|
||||||
|
|
||||||
PORTNAME= libquicktime
|
PORTNAME= libquicktime
|
||||||
PORTVERSION= 0.9.4
|
PORTVERSION= 0.9.4
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= multimedia
|
CATEGORIES= multimedia
|
||||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
|
||||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||||
|
|
18
multimedia/libquicktime/files/patch-src::lqt_codecs.c
Normal file
18
multimedia/libquicktime/files/patch-src::lqt_codecs.c
Normal 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;
|
18
multimedia/libquicktime/files/patch-src::lqt_quicktime.c
Normal file
18
multimedia/libquicktime/files/patch-src::lqt_quicktime.c
Normal 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)
|
||||||
|
{
|
Loading…
Add table
Reference in a new issue