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
256e99f6
Commit
256e99f6
authored
Sep 05, 2016
by
Matthieu Bouron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/mediacodecdec_h264: move bsf variable declaration at the top of the function
parent
3e886e73
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
mediacodecdec_h264.c
libavcodec/mediacodecdec_h264.c
+3
-1
No files found.
libavcodec/mediacodecdec_h264.c
View file @
256e99f6
...
...
@@ -129,6 +129,8 @@ static av_cold int mediacodec_decode_init(AVCodecContext *avctx)
int
is_avc
=
0
;
int
nal_length_size
=
0
;
const
AVBitStreamFilter
*
bsf
=
NULL
;
FFAMediaFormat
*
format
=
NULL
;
MediaCodecH264DecContext
*
s
=
avctx
->
priv_data
;
...
...
@@ -205,7 +207,7 @@ static av_cold int mediacodec_decode_init(AVCodecContext *avctx)
goto
done
;
}
const
AVBitStreamFilter
*
bsf
=
av_bsf_get_by_name
(
"h264_mp4toannexb"
);
bsf
=
av_bsf_get_by_name
(
"h264_mp4toannexb"
);
if
(
!
bsf
)
{
ret
=
AVERROR_BSF_NOT_FOUND
;
goto
done
;
...
...
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