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:
ef36ba5
)
ffserver: allocate rc_eq, prevent freeing invalid pointer
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 13 Aug 2013 13:17:58 +0000
(15:17 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 13 Aug 2013 13:24:30 +0000
(15:24 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffserver.c
patch
|
blob
|
history
diff --git
a/ffserver.c
b/ffserver.c
index
cfa730a
..
4215265
100644
(file)
--- a/
ffserver.c
+++ b/
ffserver.c
@@
-3904,7
+3904,7
@@
static void add_codec(FFStream *stream, AVCodecContext *av)
av->rc_buffer_aggressivity = 1.0;
if (!av->rc_eq)
- av->rc_eq =
"tex^qComp"
;
+ av->rc_eq =
av_strdup("tex^qComp")
;
if (!av->i_quant_factor)
av->i_quant_factor = -0.8;
if (!av->b_quant_factor)