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
96037382
Commit
96037382
authored
May 19, 2012
by
Kostya Shishkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
indeo: check that band output buffer exists
parent
23ba1503
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
ivi_common.c
libavcodec/ivi_common.c
+4
-0
No files found.
libavcodec/ivi_common.c
View file @
96037382
...
@@ -641,6 +641,10 @@ static int decode_band(IVI45DecContext *ctx, int plane_num,
...
@@ -641,6 +641,10 @@ static int decode_band(IVI45DecContext *ctx, int plane_num,
IVITile
*
tile
;
IVITile
*
tile
;
band
->
buf
=
band
->
bufs
[
ctx
->
dst_buf
];
band
->
buf
=
band
->
bufs
[
ctx
->
dst_buf
];
if
(
!
band
->
buf
)
{
av_log
(
avctx
,
AV_LOG_ERROR
,
"Band buffer points to no data!
\n
"
);
return
AVERROR_INVALIDDATA
;
}
band
->
ref_buf
=
band
->
bufs
[
ctx
->
ref_buf
];
band
->
ref_buf
=
band
->
bufs
[
ctx
->
ref_buf
];
band
->
data_ptr
=
ctx
->
frame_data
+
(
get_bits_count
(
&
ctx
->
gb
)
>>
3
);
band
->
data_ptr
=
ctx
->
frame_data
+
(
get_bits_count
(
&
ctx
->
gb
)
>>
3
);
...
...
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