rtmpproto: Avoid using uninitialized memory
authorMartin Storsjö <martin@martin.st>
Fri, 17 Jan 2014 12:29:57 +0000 (14:29 +0200)
committerMartin Storsjö <martin@martin.st>
Mon, 20 Jan 2014 19:56:57 +0000 (21:56 +0200)
commit24eb3c791606fe98a1591c13a8b2ba6c342bb3b5
tree7e9a8bcb29d415fa53a3959deec222584e37401f
parentd01e684186bc1631bc176f06b89d33c27ec0d24d
rtmpproto: Avoid using uninitialized memory

If the url ends with .flv, we stripped it but didn't initialize
rt->playpath, doing av_strlcat on an uninitialized buffer.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtmpproto.c