Browse Source

Revert 1a5e4fd8c5 for postproc. This broke the code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.8
Michael Niedermayer 14 years ago
parent
commit
ea535ed50d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libpostproc/postprocess.c

+ 2
- 2
libpostproc/postprocess.c View File

@@ -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);



Loading…
Cancel
Save