FreeBSD Bugzilla – Attachment 57500 Details for
Bug 86768
new port: audio/mp3guessenc - Utility for guessing which encoder was used to encode an mp3 file
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
mp3guessenc.shar
mp3guessenc.shar (text/plain), 2.89 KB, created by
Emanuel Haupt
on 2005-09-30 23:50:18 UTC
(
hide
)
Description:
mp3guessenc.shar
Filename:
MIME Type:
Creator:
Emanuel Haupt
Created:
2005-09-30 23:50:18 UTC
Size:
2.89 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># mp3guessenc ># mp3guessenc/Makefile ># mp3guessenc/pkg-descr ># mp3guessenc/distinfo ># mp3guessenc/files ># mp3guessenc/files/patch-mp3guessenc.c ># >echo c - mp3guessenc >mkdir -p mp3guessenc > /dev/null 2>&1 >echo x - mp3guessenc/Makefile >sed 's/^X//' >mp3guessenc/Makefile << 'END-of-mp3guessenc/Makefile' >X# New ports collection makefile for: mp3guessenc >X# Date created: 1 Oct 2005 >X# Whom: Emanuel Haupt <ehaupt@critical.ch> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= mp3guessenc >XPORTVERSION= 0.21 >XCATEGORIES= audio >XMASTER_SITES= http://shibatch.sourceforge.net/download/ >X >XMAINTAINER= ehaupt@critical.ch >XCOMMENT= Utility for guessing which encoder was used to encode an mp3 file >X >XUSE_ZIP= yes >XUSE_REINPLACE= yes >X >XWRKSRC= ${WRKDIR} >X >XPLIST_FILES= bin/mp3guessenc >X >Xpost-extract: >X @${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' \ >X ${WRKSRC}/${PORTNAME}.c \ >X ${WRKSRC}/VbrTag.h >X >Xdo-build: >X ${CC} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c -o ${WRKSRC}/${PORTNAME} >X >Xdo-install: >X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin >X >X.include <bsd.port.mk> >END-of-mp3guessenc/Makefile >echo x - mp3guessenc/pkg-descr >sed 's/^X//' >mp3guessenc/pkg-descr << 'END-of-mp3guessenc/pkg-descr' >XThis is a program which analyzes an mp3 file and guesses which encoder was >Xused. >X >XAll encoders have some characteristics in encoded MP3 file. For example, Xing >Xencoder never uses short block. This program analyzes which features are used in >Xthe given MP3 file and guesses which encoder is used to encode the MP3 file. >X >XThe guess is not always correct. >X >XWWW: http://shibatch.sourceforge.net >END-of-mp3guessenc/pkg-descr >echo x - mp3guessenc/distinfo >sed 's/^X//' >mp3guessenc/distinfo << 'END-of-mp3guessenc/distinfo' >XMD5 (mp3guessenc-0.21.zip) = 32de7429c3a7b4feceea85dd33c7e703 >XSIZE (mp3guessenc-0.21.zip) = 18434 >END-of-mp3guessenc/distinfo >echo c - mp3guessenc/files >mkdir -p mp3guessenc/files > /dev/null 2>&1 >echo x - mp3guessenc/files/patch-mp3guessenc.c >sed 's/^X//' >mp3guessenc/files/patch-mp3guessenc.c << 'END-of-mp3guessenc/files/patch-mp3guessenc.c' >X--- mp3guessenc.c.orig Sat Oct 1 00:34:43 2005 >X+++ mp3guessenc.c Sat Oct 1 00:38:22 2005 >X@@ -515,6 +515,7 @@ >X for(q--;q >= lame_string && *q == 'U';q--) *q = '\0'; >X >X LSEX_END: >X+ {} >X } >X >X /////////////////////////////////////////////////////// >X@@ -541,7 +542,10 @@ >X for(i=0;i<256;i++) lame_string[i] = '\0'; >X >X input_file = fopen(argv[1],"rb"); >X- if (input_file == NULL) exit(0); >X+ if (input_file == NULL) { >X+ printf("Usage: mp3guessenc mp3file\n"); >X+ exit(0); >X+ } >X >X fseek(input_file,0,SEEK_END); >X filesize = ftell(input_file); >END-of-mp3guessenc/files/patch-mp3guessenc.c >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 86768
: 57500