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
0e7772c5
Commit
0e7772c5
authored
Apr 11, 2016
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h264: remove unused H264SliceContext.rbsp_buffer
parent
7f045c44
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
9 deletions
+1
-9
h264.c
libavcodec/h264.c
+1
-5
h264.h
libavcodec/h264.h
+0
-4
No files found.
libavcodec/h264.c
View file @
0e7772c5
...
...
@@ -337,8 +337,6 @@ static av_cold int h264_decode_end(AVCodecContext *avctx)
h
->
cur_pic_ptr
=
NULL
;
for
(
i
=
0
;
i
<
h
->
nb_slice_ctx
;
i
++
)
av_freep
(
&
h
->
slice_ctx
[
i
].
rbsp_buffer
);
av_freep
(
&
h
->
slice_ctx
);
h
->
nb_slice_ctx
=
0
;
...
...
@@ -952,9 +950,7 @@ again:
av_log
(
h
->
avctx
,
AV_LOG_ERROR
,
"decode_slice_header error
\n
"
);
sl
->
ref_count
[
0
]
=
sl
->
ref_count
[
1
]
=
sl
->
list_count
=
0
;
}
else
if
(
err
==
1
)
{
/* Slice could not be decoded in parallel mode, restart. Note
* that rbsp_buffer is not transferred, but since we no longer
* run in parallel mode this should not be an issue. */
/* Slice could not be decoded in parallel mode, restart. */
sl
=
&
h
->
slice_ctx
[
0
];
goto
again
;
}
...
...
libavcodec/h264.h
View file @
0e7772c5
...
...
@@ -435,10 +435,6 @@ typedef struct H264SliceContext {
CABACContext
cabac
;
uint8_t
cabac_state
[
1024
];
int
cabac_init_idc
;
// rbsp buffer used for this slice
uint8_t
*
rbsp_buffer
;
unsigned
int
rbsp_buffer_size
;
}
H264SliceContext
;
/**
...
...
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