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
320ce9f2
Commit
320ce9f2
authored
Oct 14, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/ac3enc_template: use the initial_padding field
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
da218959
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ac3enc_template.c
libavcodec/ac3enc_template.c
+1
-1
No files found.
libavcodec/ac3enc_template.c
View file @
320ce9f2
...
@@ -443,7 +443,7 @@ int AC3_NAME(encode_frame)(AVCodecContext *avctx, AVPacket *avpkt,
...
@@ -443,7 +443,7 @@ int AC3_NAME(encode_frame)(AVCodecContext *avctx, AVPacket *avpkt,
ff_ac3_output_frame
(
s
,
avpkt
->
data
);
ff_ac3_output_frame
(
s
,
avpkt
->
data
);
if
(
frame
->
pts
!=
AV_NOPTS_VALUE
)
if
(
frame
->
pts
!=
AV_NOPTS_VALUE
)
avpkt
->
pts
=
frame
->
pts
-
ff_samples_to_time_base
(
avctx
,
avctx
->
delay
);
avpkt
->
pts
=
frame
->
pts
-
ff_samples_to_time_base
(
avctx
,
avctx
->
initial_padding
);
*
got_packet_ptr
=
1
;
*
got_packet_ptr
=
1
;
return
0
;
return
0
;
...
...
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