Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
5fe7435e
Commit
5fe7435e
authored
Oct 18, 2009
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec encoder: sets last-metadata-block for FLAC streams
Closes #805
parent
22bfd4d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/codec/avcodec/encoder.c
modules/codec/avcodec/encoder.c
+5
-5
No files found.
modules/codec/avcodec/encoder.c
View file @
5fe7435e
...
...
@@ -676,11 +676,11 @@ int OpenEncoder( vlc_object_t *p_this )
if
(
p_enc
->
fmt_out
.
p_extra
)
{
uint8_t
*
p
=
p_enc
->
fmt_out
.
p_extra
;
p
[
0
]
=
0x66
;
p
[
1
]
=
0x4C
;
p
[
2
]
=
0x61
;
p
[
3
]
=
0x43
;
p
[
4
]
=
0x
00
;
p
[
0
]
=
0x66
;
/* f */
p
[
1
]
=
0x4C
;
/* L */
p
[
2
]
=
0x61
;
/* a */
p
[
3
]
=
0x43
;
/* C */
p
[
4
]
=
0x
80
;
/* streaminfo block, last block before audio */
p
[
5
]
=
(
p_context
->
extradata_size
>>
16
)
&
0xff
;
p
[
6
]
=
(
p_context
->
extradata_size
>>
8
)
&
0xff
;
p
[
7
]
=
(
p_context
->
extradata_size
)
&
0xff
;
...
...
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