]> git.sesse.net Git - ffmpeg/blobdiff - libpostproc/postprocess.c
Make RTSP use the generic http authentication code
[ffmpeg] / libpostproc / postprocess.c
index b5b6649f931cb17661eebe58f980d34d30160932..04c1fa8bd32001f821820675429e72d8dd7cefe8 100644 (file)
@@ -92,6 +92,17 @@ unsigned postproc_version(void)
     return LIBPOSTPROC_VERSION_INT;
 }
 
+const char *postproc_configuration(void)
+{
+    return FFMPEG_CONFIGURATION;
+}
+
+const char *postproc_license(void)
+{
+#define LICENSE_PREFIX "libpostproc license: "
+    return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1;
+}
+
 #if HAVE_ALTIVEC_H
 #include <altivec.h>
 #endif
@@ -951,7 +962,7 @@ static const AVClass av_codec_context_class = { "Postproc", context_to_name, NUL
 
 pp_context *pp_get_context(int width, int height, int cpuCaps){
     PPContext *c= av_malloc(sizeof(PPContext));
-    int stride= (width+15)&(~15);    //assumed / will realloc if needed
+    int stride= FFALIGN(width, 16);  //assumed / will realloc if needed
     int qpStride= (width+15)/16 + 2; //assumed / will realloc if needed
 
     memset(c, 0, sizeof(PPContext));