OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9563e67
)
avformat/hevc: fix mix of av_malloc() with free()
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 9 Mar 2014 22:27:31 +0000
(23:27 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 9 Mar 2014 22:27:31 +0000
(23:27 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/hevc.c
patch
|
blob
|
history
diff --git
a/libavformat/hevc.c
b/libavformat/hevc.c
index
6e935e6
..
19dd2f4
100644
(file)
--- a/
libavformat/hevc.c
+++ b/
libavformat/hevc.c
@@
-1056,7
+1056,7
@@
int ff_hevc_annexb2mp4(AVIOContext *pb, const uint8_t *buf_in,
}
end:
- free(start);
+
av_
free(start);
if (ps_count)
*ps_count = num_ps;
return ret;
@@
-1109,7
+1109,7
@@
int ff_hevc_annexb2mp4_buf(const uint8_t *buf_in, uint8_t **buf_out,
*size = avio_close_dyn_buf(pb, buf_out);
end:
- free(start);
+
av_
free(start);
if (ps_count)
*ps_count = num_ps;
return ret;