summaryrefslogtreecommitdiff
path: root/libpostproc
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-05-29 00:11:39 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-05-29 00:32:33 +0200
commitea535ed50d1b8d751e2d194a987295ab38daf1a2 (patch)
tree74e4ae6471989ad0b8ecaa5e7ce406342012e7d7 /libpostproc
parent011b098cd0ae7296651d36ae7da400d5d04337c3 (diff)
Revert 1a5e4fd8c5b99478b4e08a69261930bb12aa948b for postproc. This broke the code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libpostproc')
-rw-r--r--libpostproc/postprocess.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c
index 03e5f194d7..b2c35f537e 100644
--- a/libpostproc/postprocess.c
+++ b/libpostproc/postprocess.c
@@ -86,7 +86,6 @@ try to unroll inner for(x=0 ... loop to avoid these damn if(x ... checks
//#define DEBUG_BRIGHTNESS
#include "postprocess.h"
#include "postprocess_internal.h"
-#include "libavutil/avstring.h"
unsigned postproc_version(void)
{
@@ -767,7 +766,8 @@ pp_mode *pp_get_mode_by_name_and_quality(const char *name, int quality)
ppMode->maxClippedThreshold= 0.01;
ppMode->error=0;
- av_strlcpy(temp, name, GET_MODE_BUFFER_SIZE);
+#undef strncpy
+ strncpy(temp, name, GET_MODE_BUFFER_SIZE);
av_log(NULL, AV_LOG_DEBUG, "pp: %s\n", name);