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
0219e99e
Commit
0219e99e
authored
Jan 08, 2010
by
Daniel Verkamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Release cyuv/aura decoder buffer
Originally committed as revision 21100 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
3963a17d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
cyuv.c
libavcodec/cyuv.c
+12
-2
No files found.
libavcodec/cyuv.c
View file @
0219e99e
...
@@ -167,6 +167,16 @@ static int cyuv_decode_frame(AVCodecContext *avctx,
...
@@ -167,6 +167,16 @@ static int cyuv_decode_frame(AVCodecContext *avctx,
return
buf_size
;
return
buf_size
;
}
}
static
av_cold
int
cyuv_decode_end
(
AVCodecContext
*
avctx
)
{
CyuvDecodeContext
*
s
=
avctx
->
priv_data
;
if
(
s
->
frame
.
data
[
0
])
avctx
->
release_buffer
(
avctx
,
&
s
->
frame
);
return
0
;
}
#if CONFIG_AURA_DECODER
#if CONFIG_AURA_DECODER
AVCodec
aura_decoder
=
{
AVCodec
aura_decoder
=
{
"aura"
,
"aura"
,
...
@@ -175,7 +185,7 @@ AVCodec aura_decoder = {
...
@@ -175,7 +185,7 @@ AVCodec aura_decoder = {
sizeof
(
CyuvDecodeContext
),
sizeof
(
CyuvDecodeContext
),
cyuv_decode_init
,
cyuv_decode_init
,
NULL
,
NULL
,
NULL
,
cyuv_decode_end
,
cyuv_decode_frame
,
cyuv_decode_frame
,
CODEC_CAP_DR1
,
CODEC_CAP_DR1
,
NULL
,
NULL
,
...
@@ -191,7 +201,7 @@ AVCodec cyuv_decoder = {
...
@@ -191,7 +201,7 @@ AVCodec cyuv_decoder = {
sizeof
(
CyuvDecodeContext
),
sizeof
(
CyuvDecodeContext
),
cyuv_decode_init
,
cyuv_decode_init
,
NULL
,
NULL
,
NULL
,
cyuv_decode_end
,
cyuv_decode_frame
,
cyuv_decode_frame
,
CODEC_CAP_DR1
,
CODEC_CAP_DR1
,
NULL
,
NULL
,
...
...
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