Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
c6cd0e17
Commit
c6cd0e17
authored
Oct 30, 2011
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace vendor string in Ogg and FLAC muxers.
parent
f36b3902
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
30 additions
and
30 deletions
+30
-30
flacenc.c
libavformat/flacenc.c
+1
-1
oggenc.c
libavformat/oggenc.c
+1
-1
flac
tests/ref/acodec/flac
+2
-2
ogg
tests/ref/lavf/ogg
+2
-2
flac_flac
tests/ref/seek/flac_flac
+23
-23
lavf_ogg
tests/ref/seek/lavf_ogg
+1
-1
No files found.
libavformat/flacenc.c
View file @
c6cd0e17
...
...
@@ -41,7 +41,7 @@ static int flac_write_block_padding(AVIOContext *pb, unsigned int n_padding_byte
static
int
flac_write_block_comment
(
AVIOContext
*
pb
,
AVDictionary
**
m
,
int
last_block
,
int
bitexact
)
{
const
char
*
vendor
=
bitexact
?
"
ffmpeg
"
:
LIBAVFORMAT_IDENT
;
const
char
*
vendor
=
bitexact
?
"
Libav
"
:
LIBAVFORMAT_IDENT
;
unsigned
int
len
,
count
;
uint8_t
*
p
,
*
p0
;
...
...
libavformat/oggenc.c
View file @
c6cd0e17
...
...
@@ -224,7 +224,7 @@ static int ogg_buffer_data(AVFormatContext *s, AVStream *st,
static
uint8_t
*
ogg_write_vorbiscomment
(
int
offset
,
int
bitexact
,
int
*
header_len
,
AVDictionary
**
m
,
int
framing_bit
)
{
const
char
*
vendor
=
bitexact
?
"
ffmpeg
"
:
LIBAVFORMAT_IDENT
;
const
char
*
vendor
=
bitexact
?
"
Libav
"
:
LIBAVFORMAT_IDENT
;
int
size
;
uint8_t
*
p
,
*
p0
;
unsigned
int
count
;
...
...
tests/ref/acodec/flac
View file @
c6cd0e17
151eef9097f944726968bec48649f00a
*./tests/data/acodec/flac.flac
36158
2
./tests/data/acodec/flac.flac
f582b59cc68adfcb3342dcfd7e020b71
*./tests/data/acodec/flac.flac
36158
1
./tests/data/acodec/flac.flac
64151e4bcc2b717aa5a8454d424d6a1f *./tests/data/flac.acodec.out.wav
stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
tests/ref/lavf/ogg
View file @
c6cd0e17
364714f1087f3c1320b60f4209191d2
3 *./tests/data/lavf/lavf.ogg
138
20
./tests/data/lavf/lavf.ogg
b55661ae1a65f99af249d8efc7619a0
3 *./tests/data/lavf/lavf.ogg
138
19
./tests/data/lavf/lavf.ogg
./tests/data/lavf/lavf.ogg CRC=0xf1ae5536
tests/ref/seek/flac_flac
View file @
c6cd0e17
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 825
6
size: 614
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 825
5
size: 614
ret: 0 st:-1 flags:0 ts:-1.000000
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 825
6
size: 614
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 825
5
size: 614
ret: 0 st:-1 flags:1 ts: 1.894167
ret: 0 st: 0 flags:1 dts: 1.880816 pts: 1.880816 pos: 8674
2
size: 2191
ret: 0 st: 0 flags:1 dts: 1.880816 pts: 1.880816 pos: 8674
1
size: 2191
ret: 0 st: 0 flags:0 ts: 0.788345
ret: 0 st: 0 flags:1 dts: 0.809796 pts: 0.809796 pos: 2736
6
size: 615
ret: 0 st: 0 flags:1 dts: 0.809796 pts: 0.809796 pos: 2736
5
size: 615
ret:-1 st: 0 flags:1 ts:-0.317506
ret: 0 st:-1 flags:0 ts: 2.576668
ret: 0 st: 0 flags:1 dts: 2.586122 pts: 2.586122 pos: 14560
6
size: 2384
ret: 0 st: 0 flags:1 dts: 2.586122 pts: 2.586122 pos: 14560
5
size: 2384
ret: 0 st:-1 flags:1 ts: 1.470835
ret: 0 st: 0 flags:1 dts: 1.462857 pts: 1.462857 pos: 5338
8
size: 1851
ret: 0 st: 0 flags:1 dts: 1.462857 pts: 1.462857 pos: 5338
7
size: 1851
ret: 0 st: 0 flags:0 ts: 0.365011
ret: 0 st: 0 flags:1 dts: 0.365714 pts: 0.365714 pos: 168
90
size: 614
ret: 0 st: 0 flags:1 dts: 0.365714 pts: 0.365714 pos: 168
89
size: 614
ret:-1 st: 0 flags:1 ts:-0.740839
ret: 0 st:-1 flags:0 ts: 2.153336
ret: 0 st: 0 flags:1 dts: 2.168163 pts: 2.168163 pos: 11053
1
size: 2143
ret: 0 st: 0 flags:1 dts: 2.168163 pts: 2.168163 pos: 11053
0
size: 2143
ret: 0 st:-1 flags:1 ts: 1.047503
ret: 0 st: 0 flags:1 dts: 1.044898 pts: 1.044898 pos: 328
80
size: 579
ret: 0 st: 0 flags:1 dts: 1.044898 pts: 1.044898 pos: 328
79
size: 579
ret: 0 st: 0 flags:0 ts:-0.058322
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 825
6
size: 614
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 825
5
size: 614
ret: 0 st: 0 flags:1 ts: 2.835828
ret: 0 st: 0 flags:1 dts: 2.821224 pts: 2.821224 pos: 16711
2
size: 2391
ret: 0 st: 0 flags:1 dts: 2.821224 pts: 2.821224 pos: 16711
1
size: 2391
ret: 0 st:-1 flags:0 ts: 1.730004
ret: 0 st: 0 flags:1 dts: 1.750204 pts: 1.750204 pos: 7578
8
size: 2191
ret: 0 st: 0 flags:1 dts: 1.750204 pts: 1.750204 pos: 7578
7
size: 2191
ret: 0 st:-1 flags:1 ts: 0.624171
ret: 0 st: 0 flags:1 dts: 0.600816 pts: 0.600816 pos: 2244
6
size: 616
ret: 0 st: 0 flags:1 dts: 0.600816 pts: 0.600816 pos: 2244
5
size: 616
ret: 0 st: 0 flags:0 ts:-0.481655
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 825
6
size: 614
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 825
5
size: 614
ret: 0 st: 0 flags:1 ts: 2.412494
ret: 0 st: 0 flags:1 dts: 2.403265 pts: 2.403265 pos: 12979
3
size: 2138
ret: 0 st: 0 flags:1 dts: 2.403265 pts: 2.403265 pos: 12979
2
size: 2138
ret: 0 st:-1 flags:0 ts: 1.306672
ret: 0 st: 0 flags:1 dts: 1.332245 pts: 1.332245 pos: 4481
2
size: 1609
ret: 0 st: 0 flags:1 dts: 1.332245 pts: 1.332245 pos: 4481
1
size: 1609
ret: 0 st:-1 flags:1 ts: 0.200839
ret: 0 st: 0 flags:1 dts: 0.182857 pts: 0.182857 pos: 1257
2
size: 628
ret: 0 st: 0 flags:1 dts: 0.182857 pts: 0.182857 pos: 1257
1
size: 628
ret: 0 st: 0 flags:0 ts:-0.904989
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 825
6
size: 614
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 825
5
size: 614
ret: 0 st: 0 flags:1 ts: 1.989184
ret: 0 st: 0 flags:1 dts: 1.985306 pts: 1.985306 pos: 9550
8
size: 2169
ret: 0 st: 0 flags:1 dts: 1.985306 pts: 1.985306 pos: 9550
7
size: 2169
ret: 0 st:-1 flags:0 ts: 0.883340
ret: 0 st: 0 flags:1 dts: 0.888163 pts: 0.888163 pos: 2921
1
size: 620
ret: 0 st: 0 flags:1 dts: 0.888163 pts: 0.888163 pos: 2921
0
size: 620
ret:-1 st:-1 flags:1 ts:-0.222493
ret: 0 st: 0 flags:0 ts: 2.671678
ret: 0 st: 0 flags:1 dts: 2.690612 pts: 2.690612 pos: 15515
4
size: 2394
ret: 0 st: 0 flags:1 dts: 2.690612 pts: 2.690612 pos: 15515
3
size: 2394
ret: 0 st: 0 flags:1 ts: 1.565850
ret: 0 st: 0 flags:1 dts: 1.541224 pts: 1.541224 pos: 5908
2
size: 1974
ret: 0 st: 0 flags:1 dts: 1.541224 pts: 1.541224 pos: 5908
1
size: 1974
ret: 0 st:-1 flags:0 ts: 0.460008
ret: 0 st: 0 flags:1 dts: 0.470204 pts: 0.470204 pos: 1935
3
size: 608
ret: 0 st: 0 flags:1 dts: 0.470204 pts: 0.470204 pos: 1935
2
size: 608
ret:-1 st:-1 flags:1 ts:-0.645825
tests/ref/seek/lavf_ogg
View file @
c6cd0e17
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 12
5
size: 1364
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 12
4
size: 1364
ret:-1 st:-1 flags:0 ts:-1.000000
ret:-1 st:-1 flags:1 ts: 1.894167
ret:-1 st: 0 flags:0 ts: 0.788345
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment