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
6e330816
Commit
6e330816
authored
Mar 30, 2008
by
Justin Ruggles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Ogg/FLAC header size
Originally committed as revision 12626 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
f3eec1cf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
oggenc.c
libavformat/oggenc.c
+2
-2
libav.regression.ref
tests/libav.regression.ref
+2
-2
No files found.
libavformat/oggenc.c
View file @
6e330816
...
...
@@ -88,8 +88,8 @@ static int ogg_build_flac_headers(const uint8_t *extradata, int extradata_size,
uint8_t
*
p
;
if
(
extradata_size
!=
34
)
return
-
1
;
oggstream
->
header_len
[
0
]
=
79
;
oggstream
->
header
[
0
]
=
av_mallocz
(
79
);
// per ogg flac specs
oggstream
->
header_len
[
0
]
=
51
;
oggstream
->
header
[
0
]
=
av_mallocz
(
51
);
// per ogg flac specs
p
=
oggstream
->
header
[
0
];
bytestream_put_byte
(
&
p
,
0x7F
);
bytestream_put_buffer
(
&
p
,
"FLAC"
,
4
);
...
...
tests/libav.regression.ref
View file @
6e330816
...
...
@@ -84,8 +84,8 @@ ae3a23a7ea13c92a2909445ca8144dcd *./tests/data/b-libav.aif
8d117c49d6b210abe783d1b0b897cec7 *./tests/data/b-libav.voc
32768 ./tests/data/b-libav.voc
./tests/data/b-libav.voc CRC=0x49972c8c
d7e6e9091a600b7208b29500be94aa89
*./tests/data/b-libav.ogg
23
624
./tests/data/b-libav.ogg
8ac1fa6e0ee5d47ea98aea17b67d5908
*./tests/data/b-libav.ogg
23
596
./tests/data/b-libav.ogg
./tests/data/b-libav.ogg CRC=0x93baa056
ce356ce2708cb6033ab5d762da93cfd4 *./tests/data/b-libav-yuv420p.yuv
304128 ./tests/data/b-libav-yuv420p.yuv
...
...
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