~ubuntu-branches/ubuntu/trusty/libav/trusty

« back to all changes in this revision

Viewing changes to libpostproc/postprocess.c

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler, Jonathan Nieder, Reinhard Tartler
  • Date: 2011-05-13 12:31:33 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (1.3.4 sid)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20110513123133-zqcsj91sf5489y4s
Tags: 4:0.7~beta2-1
[ Jonathan Nieder ]
* only install doc/APIChanges in *-dev and libav-doc packages
* move note on source package lineage to README.Debian
* install NEWS.Debian in libavcodec-dev
* use dpkg source format 3.0 (quilt)
* allow "debian/rules clean" as unprivileged user

[ Reinhard Tartler ]
* New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
{
695
696
 
696
697
/* -pp Command line Help
697
698
*/
698
 
#if LIBPOSTPROC_VERSION_INT < (52<<16)
699
 
const char *const pp_help=
700
 
#else
701
699
const char pp_help[] =
702
 
#endif
703
700
"Available postprocessing filters:\n"
704
701
"Filters                        Options\n"
705
702
"short  long name       short   long option     Description\n"
766
763
    ppMode->maxClippedThreshold= 0.01;
767
764
    ppMode->error=0;
768
765
 
769
 
    strncpy(temp, name, GET_MODE_BUFFER_SIZE);
 
766
    av_strlcpy(temp, name, GET_MODE_BUFFER_SIZE);
770
767
 
771
768
    av_log(NULL, AV_LOG_DEBUG, "pp: %s\n", name);
772
769
 
1103
1100
        }
1104
1101
    }
1105
1102
}
1106