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
9b60d907
Commit
9b60d907
authored
May 06, 2014
by
Lukasz Marek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: use av_fifo_freep
Signed-off-by:
Lukasz Marek
<
lukasz.m.luki2@gmail.com
>
parent
ce1eefe6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
flac_parser.c
libavcodec/flac_parser.c
+1
-1
frame_thread_encoder.c
libavcodec/frame_thread_encoder.c
+1
-1
libvorbisenc.c
libavcodec/libvorbisenc.c
+1
-1
No files found.
libavcodec/flac_parser.c
View file @
9b60d907
...
@@ -724,7 +724,7 @@ static void flac_parse_close(AVCodecParserContext *c)
...
@@ -724,7 +724,7 @@ static void flac_parse_close(AVCodecParserContext *c)
av_free
(
curr
);
av_free
(
curr
);
curr
=
temp
;
curr
=
temp
;
}
}
av_fifo_free
(
fpc
->
fifo_buf
);
av_fifo_free
p
(
&
fpc
->
fifo_buf
);
av_free
(
fpc
->
wrap_buf
);
av_free
(
fpc
->
wrap_buf
);
}
}
...
...
libavcodec/frame_thread_encoder.c
View file @
9b60d907
...
@@ -234,7 +234,7 @@ void ff_frame_thread_encoder_free(AVCodecContext *avctx){
...
@@ -234,7 +234,7 @@ void ff_frame_thread_encoder_free(AVCodecContext *avctx){
pthread_mutex_destroy
(
&
c
->
buffer_mutex
);
pthread_mutex_destroy
(
&
c
->
buffer_mutex
);
pthread_cond_destroy
(
&
c
->
task_fifo_cond
);
pthread_cond_destroy
(
&
c
->
task_fifo_cond
);
pthread_cond_destroy
(
&
c
->
finished_task_cond
);
pthread_cond_destroy
(
&
c
->
finished_task_cond
);
av_fifo_free
(
c
->
task_fifo
);
c
->
task_fifo
=
NULL
;
av_fifo_free
p
(
&
c
->
task_fifo
)
;
av_freep
(
&
avctx
->
internal
->
frame_thread_encoder
);
av_freep
(
&
avctx
->
internal
->
frame_thread_encoder
);
}
}
...
...
libavcodec/libvorbisenc.c
View file @
9b60d907
...
@@ -183,7 +183,7 @@ static av_cold int libvorbis_encode_close(AVCodecContext *avctx)
...
@@ -183,7 +183,7 @@ static av_cold int libvorbis_encode_close(AVCodecContext *avctx)
vorbis_dsp_clear
(
&
s
->
vd
);
vorbis_dsp_clear
(
&
s
->
vd
);
vorbis_info_clear
(
&
s
->
vi
);
vorbis_info_clear
(
&
s
->
vi
);
av_fifo_free
(
s
->
pkt_fifo
);
av_fifo_free
p
(
&
s
->
pkt_fifo
);
ff_af_queue_close
(
&
s
->
afq
);
ff_af_queue_close
(
&
s
->
afq
);
av_freep
(
&
avctx
->
extradata
);
av_freep
(
&
avctx
->
extradata
);
...
...
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