summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvb.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_dvb.c')
-rw-r--r--stream/stream_dvb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/stream/stream_dvb.c b/stream/stream_dvb.c
index 7be16e11ef..41352822d4 100644
--- a/stream/stream_dvb.c
+++ b/stream/stream_dvb.c
@@ -44,6 +44,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#include "help_mp.h"
#include "m_option.h"
#include "m_struct.h"
+#include "libavutil/avstring.h"
#include "dvbin.h"
@@ -176,7 +177,7 @@ static dvb_channels_list *dvb_get_channels(char *filename, int type)
ptr->name = malloc(k+1);
if(! ptr->name)
continue;
- strlcpy(ptr->name, line, k+1);
+ av_strlcpy(ptr->name, line, k+1);
}
else
continue;