Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
x264
Commits
26b99cce
Commit
26b99cce
authored
Apr 01, 2018
by
Anton Mitrofanov
Committed by
Henrik Gramner
May 27, 2018
Browse files
Fix missing bs_flush in AUD writing
parent
da6b29b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
encoder/encoder.c
View file @
26b99cce
...
...
@@ -3499,6 +3499,7 @@ int x264_encoder_encode( x264_t *h,
nal_start
(
h
,
NAL_AUD
,
NAL_PRIORITY_DISPOSABLE
);
bs_write
(
&
h
->
out
.
bs
,
3
,
pic_type
);
bs_rbsp_trailing
(
&
h
->
out
.
bs
);
bs_flush
(
&
h
->
out
.
bs
);
if
(
nal_end
(
h
)
)
return
-
1
;
overhead
+=
h
->
out
.
nal
[
h
->
out
.
i_nal
-
1
].
i_payload
+
NALU_OVERHEAD
;
...
...
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