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
546d69eb
Commit
546d69eb
authored
Feb 28, 2015
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec: use av_frame_free() for coded_frame
parent
cb39fe93
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
16 additions
and
16 deletions
+16
-16
avuienc.c
libavcodec/avuienc.c
+1
-1
libopenjpegenc.c
libavcodec/libopenjpegenc.c
+2
-2
libtheoraenc.c
libavcodec/libtheoraenc.c
+1
-1
libutvideoenc.cpp
libavcodec/libutvideoenc.cpp
+1
-1
libvpxenc.c
libavcodec/libvpxenc.c
+1
-1
proresenc_anatoliy.c
libavcodec/proresenc_anatoliy.c
+1
-1
r210enc.c
libavcodec/r210enc.c
+1
-1
utvideoenc.c
libavcodec/utvideoenc.c
+1
-1
v210enc.c
libavcodec/v210enc.c
+1
-1
v308enc.c
libavcodec/v308enc.c
+1
-1
v408enc.c
libavcodec/v408enc.c
+1
-1
v410enc.c
libavcodec/v410enc.c
+1
-1
xfaceenc.c
libavcodec/xfaceenc.c
+1
-1
y41penc.c
libavcodec/y41penc.c
+1
-1
yuv4enc.c
libavcodec/yuv4enc.c
+1
-1
No files found.
libavcodec/avuienc.c
View file @
546d69eb
...
...
@@ -99,7 +99,7 @@ static int avui_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
static
av_cold
int
avui_encode_close
(
AVCodecContext
*
avctx
)
{
av_fr
eep
(
&
avctx
->
coded_frame
);
av_fr
ame_free
(
&
avctx
->
coded_frame
);
return
0
;
}
...
...
libavcodec/libopenjpegenc.c
View file @
546d69eb
...
...
@@ -250,7 +250,7 @@ static av_cold int libopenjpeg_encode_init(AVCodecContext *avctx)
fail:
opj_image_destroy
(
ctx
->
image
);
ctx
->
image
=
NULL
;
av_fr
eep
(
&
avctx
->
coded_frame
);
av_fr
ame_free
(
&
avctx
->
coded_frame
);
return
err
;
}
...
...
@@ -605,7 +605,7 @@ static av_cold int libopenjpeg_encode_close(AVCodecContext *avctx)
opj_image_destroy
(
ctx
->
image
);
ctx
->
image
=
NULL
;
av_fr
eep
(
&
avctx
->
coded_frame
);
av_fr
ame_free
(
&
avctx
->
coded_frame
);
return
0
;
}
...
...
libavcodec/libtheoraenc.c
View file @
546d69eb
...
...
@@ -359,7 +359,7 @@ static av_cold int encode_close(AVCodecContext* avc_context)
th_encode_free
(
h
->
t_state
);
av_freep
(
&
h
->
stats
);
av_fr
eep
(
&
avc_context
->
coded_frame
);
av_fr
ame_free
(
&
avc_context
->
coded_frame
);
av_freep
(
&
avc_context
->
stats_out
);
av_freep
(
&
avc_context
->
extradata
);
avc_context
->
extradata_size
=
0
;
...
...
libavcodec/libutvideoenc.cpp
View file @
546d69eb
...
...
@@ -209,7 +209,7 @@ static av_cold int utvideo_encode_close(AVCodecContext *avctx)
{
UtVideoContext
*
utv
=
(
UtVideoContext
*
)
avctx
->
priv_data
;
av_fr
eep
(
&
avctx
->
coded_frame
);
av_fr
ame_free
(
&
avctx
->
coded_frame
);
av_freep
(
&
avctx
->
extradata
);
av_freep
(
&
utv
->
buffer
);
...
...
libavcodec/libvpxenc.c
View file @
546d69eb
...
...
@@ -253,7 +253,7 @@ static av_cold int vp8_free(AVCodecContext *avctx)
if
(
ctx
->
is_alpha
)
vpx_codec_destroy
(
&
ctx
->
encoder_alpha
);
av_freep
(
&
ctx
->
twopass_stats
.
buf
);
av_fr
eep
(
&
avctx
->
coded_frame
);
av_fr
ame_free
(
&
avctx
->
coded_frame
);
av_freep
(
&
avctx
->
stats_out
);
free_frame_list
(
ctx
->
coded_frame_list
);
return
0
;
...
...
libavcodec/proresenc_anatoliy.c
View file @
546d69eb
...
...
@@ -601,7 +601,7 @@ static av_cold int prores_encode_init(AVCodecContext *avctx)
static
av_cold
int
prores_encode_close
(
AVCodecContext
*
avctx
)
{
ProresContext
*
ctx
=
avctx
->
priv_data
;
av_fr
eep
(
&
avctx
->
coded_frame
);
av_fr
ame_free
(
&
avctx
->
coded_frame
);
av_freep
(
&
ctx
->
fill_y
);
return
0
;
...
...
libavcodec/r210enc.c
View file @
546d69eb
...
...
@@ -80,7 +80,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
static
av_cold
int
encode_close
(
AVCodecContext
*
avctx
)
{
av_fr
eep
(
&
avctx
->
coded_frame
);
av_fr
ame_free
(
&
avctx
->
coded_frame
);
return
0
;
}
...
...
libavcodec/utvideoenc.c
View file @
546d69eb
...
...
@@ -48,7 +48,7 @@ static av_cold int utvideo_encode_close(AVCodecContext *avctx)
UtvideoContext
*
c
=
avctx
->
priv_data
;
int
i
;
av_fr
eep
(
&
avctx
->
coded_frame
);
av_fr
ame_free
(
&
avctx
->
coded_frame
);
av_freep
(
&
c
->
slice_bits
);
for
(
i
=
0
;
i
<
4
;
i
++
)
av_freep
(
&
c
->
slice_buffer
[
i
]);
...
...
libavcodec/v210enc.c
View file @
546d69eb
...
...
@@ -215,7 +215,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
static
av_cold
int
encode_close
(
AVCodecContext
*
avctx
)
{
av_fr
eep
(
&
avctx
->
coded_frame
);
av_fr
ame_free
(
&
avctx
->
coded_frame
);
return
0
;
}
...
...
libavcodec/v308enc.c
View file @
546d69eb
...
...
@@ -77,7 +77,7 @@ static int v308_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
static
av_cold
int
v308_encode_close
(
AVCodecContext
*
avctx
)
{
av_fr
eep
(
&
avctx
->
coded_frame
);
av_fr
ame_free
(
&
avctx
->
coded_frame
);
return
0
;
}
...
...
libavcodec/v408enc.c
View file @
546d69eb
...
...
@@ -82,7 +82,7 @@ static int v408_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
static
av_cold
int
v408_encode_close
(
AVCodecContext
*
avctx
)
{
av_fr
eep
(
&
avctx
->
coded_frame
);
av_fr
ame_free
(
&
avctx
->
coded_frame
);
return
0
;
}
...
...
libavcodec/v410enc.c
View file @
546d69eb
...
...
@@ -81,7 +81,7 @@ static int v410_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
static
av_cold
int
v410_encode_close
(
AVCodecContext
*
avctx
)
{
av_fr
eep
(
&
avctx
->
coded_frame
);
av_fr
ame_free
(
&
avctx
->
coded_frame
);
return
0
;
}
...
...
libavcodec/xfaceenc.c
View file @
546d69eb
...
...
@@ -223,7 +223,7 @@ static int xface_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
static
av_cold
int
xface_encode_close
(
AVCodecContext
*
avctx
)
{
av_fr
eep
(
&
avctx
->
coded_frame
);
av_fr
ame_free
(
&
avctx
->
coded_frame
);
return
0
;
}
...
...
libavcodec/y41penc.c
View file @
546d69eb
...
...
@@ -84,7 +84,7 @@ static int y41p_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
static
av_cold
int
y41p_encode_close
(
AVCodecContext
*
avctx
)
{
av_fr
eep
(
&
avctx
->
coded_frame
);
av_fr
ame_free
(
&
avctx
->
coded_frame
);
return
0
;
}
...
...
libavcodec/yuv4enc.c
View file @
546d69eb
...
...
@@ -74,7 +74,7 @@ static int yuv4_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
static
av_cold
int
yuv4_encode_close
(
AVCodecContext
*
avctx
)
{
av_fr
eep
(
&
avctx
->
coded_frame
);
av_fr
ame_free
(
&
avctx
->
coded_frame
);
return
0
;
}
...
...
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