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
f297d1e9
Commit
f297d1e9
authored
Aug 04, 2016
by
Timothy Gu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h264dec: Fix indentation
parent
26648703
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
h264dec.c
libavcodec/h264dec.c
+16
-16
No files found.
libavcodec/h264dec.c
View file @
f297d1e9
...
...
@@ -816,24 +816,24 @@ again:
#endif
}
if
(
avctx
->
hwaccel
)
{
ret
=
avctx
->
hwaccel
->
decode_slice
(
avctx
,
nal
->
raw_data
,
nal
->
raw_size
);
if
(
ret
<
0
)
goto
end
;
if
(
avctx
->
hwaccel
)
{
ret
=
avctx
->
hwaccel
->
decode_slice
(
avctx
,
nal
->
raw_data
,
nal
->
raw_size
);
if
(
ret
<
0
)
goto
end
;
#if FF_API_CAP_VDPAU
}
else
if
(
CONFIG_H264_VDPAU_DECODER
&&
h
->
avctx
->
codec
->
capabilities
&
AV_CODEC_CAP_HWACCEL_VDPAU
)
{
ff_vdpau_add_data_chunk
(
h
->
cur_pic_ptr
->
f
->
data
[
0
],
start_code
,
sizeof
(
start_code
));
ff_vdpau_add_data_chunk
(
h
->
cur_pic_ptr
->
f
->
data
[
0
],
nal
->
raw_data
,
nal
->
raw_size
);
}
else
if
(
CONFIG_H264_VDPAU_DECODER
&&
h
->
avctx
->
codec
->
capabilities
&
AV_CODEC_CAP_HWACCEL_VDPAU
)
{
ff_vdpau_add_data_chunk
(
h
->
cur_pic_ptr
->
f
->
data
[
0
],
start_code
,
sizeof
(
start_code
));
ff_vdpau_add_data_chunk
(
h
->
cur_pic_ptr
->
f
->
data
[
0
],
nal
->
raw_data
,
nal
->
raw_size
);
#endif
}
else
context_count
++
;
}
else
context_count
++
;
break
;
case
H264_NAL_DPA
:
case
H264_NAL_DPB
:
...
...
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