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
edabbfba
Commit
edabbfba
authored
May 05, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ff_h264_decode_seq_parameter_set: dont set h->sps
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
26482ae7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
h264.c
libavcodec/h264.c
+1
-0
h264_ps.c
libavcodec/h264_ps.c
+0
-2
No files found.
libavcodec/h264.c
View file @
edabbfba
...
@@ -1478,6 +1478,7 @@ av_cold int ff_h264_decode_init(AVCodecContext *avctx)
...
@@ -1478,6 +1478,7 @@ av_cold int ff_h264_decode_init(AVCodecContext *avctx)
ff_h264_pred_init
(
&
h
->
hpc
,
h
->
avctx
->
codec_id
,
8
,
1
);
ff_h264_pred_init
(
&
h
->
hpc
,
h
->
avctx
->
codec_id
,
8
,
1
);
h
->
dequant_coeff_pps
=
-
1
;
h
->
dequant_coeff_pps
=
-
1
;
h
->
current_sps_id
=
-
1
;
/* needed so that IDCT permutation is known early */
/* needed so that IDCT permutation is known early */
if
(
CONFIG_ERROR_RESILIENCE
)
if
(
CONFIG_ERROR_RESILIENCE
)
...
...
libavcodec/h264_ps.c
View file @
edabbfba
...
@@ -544,8 +544,6 @@ int ff_h264_decode_seq_parameter_set(H264Context *h){
...
@@ -544,8 +544,6 @@ int ff_h264_decode_seq_parameter_set(H264Context *h){
av_free
(
h
->
sps_buffers
[
sps_id
]);
av_free
(
h
->
sps_buffers
[
sps_id
]);
h
->
sps_buffers
[
sps_id
]
=
sps
;
h
->
sps_buffers
[
sps_id
]
=
sps
;
h
->
sps
=
*
sps
;
h
->
current_sps_id
=
sps_id
;
return
0
;
return
0
;
fail
:
fail
:
...
...
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