Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
aom-rav1e
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
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
Xiph.Org
aom-rav1e
Commits
9f53661e
Commit
9f53661e
authored
Nov 09, 2012
by
Ronald S. Bultje
Committed by
Gerrit Code Review
Nov 09, 2012
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Fix another crash in vpxenc with --pass=1 and --test-decode." into experimental
parents
71b18854
88d703cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vpxenc.c
vpxenc.c
+2
-2
No files found.
vpxenc.c
View file @
9f53661e
...
...
@@ -2132,12 +2132,11 @@ static void get_cx_data(struct stream_state *stream,
const
struct
vpx_codec_enc_cfg
*
cfg
=
&
stream
->
config
.
cfg
;
vpx_codec_iter_t
iter
=
NULL
;
*
got_data
=
0
;
while
((
pkt
=
vpx_codec_get_cx_data
(
&
stream
->
encoder
,
&
iter
)))
{
static
size_t
fsize
=
0
;
static
off_t
ivf_header_pos
=
0
;
*
got_data
=
1
;
switch
(
pkt
->
kind
)
{
case
VPX_CODEC_CX_FRAME_PKT
:
if
(
!
(
pkt
->
data
.
frame
.
flags
&
VPX_FRAME_IS_FRAGMENT
))
{
...
...
@@ -2178,6 +2177,7 @@ static void get_cx_data(struct stream_state *stream,
}
stream
->
nbytes
+=
pkt
->
data
.
raw
.
sz
;
*
got_data
=
1
;
if
(
global
->
test_decode
)
{
vpx_codec_decode
(
&
stream
->
decoder
,
pkt
->
data
.
frame
.
buf
,
pkt
->
data
.
frame
.
sz
,
NULL
,
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