Revision 1a5e4fd8 libpostproc/postprocess.c

View differences:

libpostproc/postprocess.c
86 86
//#define DEBUG_BRIGHTNESS
87 87
#include "postprocess.h"
88 88
#include "postprocess_internal.h"
89
#include "libavutil/avstring.h"
89 90

  
90 91
unsigned postproc_version(void)
91 92
{
......
762 763
    ppMode->maxClippedThreshold= 0.01;
763 764
    ppMode->error=0;
764 765

  
765
    strncpy(temp, name, GET_MODE_BUFFER_SIZE);
766
    av_strlcpy(temp, name, GET_MODE_BUFFER_SIZE);
766 767

  
767 768
    av_log(NULL, AV_LOG_DEBUG, "pp: %s\n", name);
768 769

  

Also available in: Unified diff