Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
2467d8d9
Commit
2467d8d9
authored
Nov 04, 2011
by
Justin Ruggles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ra288: return error if input buffer is too small
parent
0131e70a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ra288.c
libavcodec/ra288.c
+1
-1
No files found.
libavcodec/ra288.c
View file @
2467d8d9
...
@@ -178,7 +178,7 @@ static int ra288_decode_frame(AVCodecContext * avctx, void *data,
...
@@ -178,7 +178,7 @@ static int ra288_decode_frame(AVCodecContext * avctx, void *data,
av_log
(
avctx
,
AV_LOG_ERROR
,
av_log
(
avctx
,
AV_LOG_ERROR
,
"Error! Input buffer is too small [%d<%d]
\n
"
,
"Error! Input buffer is too small [%d<%d]
\n
"
,
buf_size
,
avctx
->
block_align
);
buf_size
,
avctx
->
block_align
);
return
0
;
return
AVERROR_INVALIDDATA
;
}
}
out_size
=
RA288_BLOCK_SIZE
*
RA288_BLOCKS_PER_FRAME
*
out_size
=
RA288_BLOCK_SIZE
*
RA288_BLOCKS_PER_FRAME
*
...
...
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