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
83f84e4c
Commit
83f84e4c
authored
Oct 14, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg: Fix stream copy with initial_padding
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
4694c0bb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
ffmpeg.c
ffmpeg.c
+3
-0
No files found.
ffmpeg.c
View file @
83f84e4c
...
...
@@ -2637,7 +2637,10 @@ static int transcode_init(void)
enc_ctx
->
frame_size
=
dec_ctx
->
frame_size
;
enc_ctx
->
audio_service_type
=
dec_ctx
->
audio_service_type
;
enc_ctx
->
block_align
=
dec_ctx
->
block_align
;
enc_ctx
->
initial_padding
=
dec_ctx
->
delay
;
#if FF_API_AUDIOENC_DELAY
enc_ctx
->
delay
=
dec_ctx
->
delay
;
#endif
if
((
enc_ctx
->
block_align
==
1
||
enc_ctx
->
block_align
==
1152
||
enc_ctx
->
block_align
==
576
)
&&
enc_ctx
->
codec_id
==
AV_CODEC_ID_MP3
)
enc_ctx
->
block_align
=
0
;
if
(
enc_ctx
->
codec_id
==
AV_CODEC_ID_AC3
)
...
...
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