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:
e4ef2e0
)
rtmp_write_amf_data: remove dead code
author
Michael Niedermayer
<michaelni@gmx.at>
Sat, 20 Oct 2012 20:57:30 +0000
(22:57 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 20 Oct 2012 20:57:30 +0000
(22:57 +0200)
Fixes CID732199
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/rtmpproto.c
patch
|
blob
|
history
diff --git
a/libavformat/rtmpproto.c
b/libavformat/rtmpproto.c
index
dbe9870
..
1d00cbb
100644
(file)
--- a/
libavformat/rtmpproto.c
+++ b/
libavformat/rtmpproto.c
@@
-256,9
+256,6
@@
static int rtmp_write_amf_data(URLContext *s, char *param, uint8_t **p)
*value = '\0';
value++;
- if (!field || !value)
- goto fail;
-
ff_amf_write_field_name(p, field);
} else {
goto fail;