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
2fb388fc
Commit
2fb388fc
authored
Mar 21, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/snowdec: forward error codes
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
296aa4ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
snowdec.c
libavcodec/snowdec.c
+4
-4
No files found.
libavcodec/snowdec.c
View file @
2fb388fc
...
...
@@ -418,8 +418,8 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
ff_build_rac_states
(
c
,
0
.
05
*
(
1LL
<<
32
),
256
-
8
);
s
->
current_picture
->
pict_type
=
AV_PICTURE_TYPE_I
;
//FIXME I vs. P
if
(
decode_header
(
s
)
<
0
)
return
-
1
;
if
((
res
=
decode_header
(
s
))
<
0
)
return
res
;
if
((
res
=
ff_snow_common_init_after_header
(
avctx
))
<
0
)
return
res
;
...
...
@@ -441,8 +441,8 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
ff_snow_alloc_blocks
(
s
);
if
(
ff_snow_frame_start
(
s
)
<
0
)
return
-
1
;
if
(
(
res
=
ff_snow_frame_start
(
s
)
)
<
0
)
return
res
;
//keyframe flag duplication mess FIXME
if
(
avctx
->
debug
&
FF_DEBUG_PICT_INFO
)
av_log
(
avctx
,
AV_LOG_ERROR
,
...
...
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