31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
$OpenBSD: patch-ffmpeg_movie_c,v 1.2 2009/08/17 00:24:38 jolan Exp $
|
|
--- ffmpeg_movie.c.orig Mon Oct 13 17:46:53 2008
|
|
+++ ffmpeg_movie.c Sun Aug 16 18:27:35 2009
|
|
@@ -45,6 +45,7 @@
|
|
|
|
#include "ffmpeg_frame.h"
|
|
#include "ffmpeg_movie.h"
|
|
+#include "ffmpeg_tools.h"
|
|
|
|
#define GET_MOVIE_RESOURCE(ff_movie_ctx) {\
|
|
zval **_tmp_zval;\
|
|
@@ -122,7 +123,8 @@ zend_function_entry ffmpeg_movie_class_methods[] = {
|
|
FFMPEG_PHP_MALIAS(ffmpeg_movie, getaudiobitrate, getAudioBitRate, NULL, 0)
|
|
FFMPEG_PHP_MALIAS(ffmpeg_movie, getvideobitrate, getVideoBitRate, NULL, 0)
|
|
FFMPEG_PHP_MALIAS(ffmpeg_movie, getpixelaspectratio, getPixelAspectRatio, NULL, 0)
|
|
- {NULL, NULL, NULL, 0, 0}
|
|
+
|
|
+ FFMPEG_PHP_END_METHODS
|
|
};
|
|
/* }}} */
|
|
|
|
@@ -270,7 +272,7 @@ static int _php_open_movie_file(ff_movie_context *ffmo
|
|
/* {{{ proto object ffmpeg_movie(string filename)
|
|
Constructor for ffmpeg_movie objects
|
|
*/
|
|
-FFMPEG_PHP_METHOD(ffmpeg_movie, __construct)
|
|
+FFMPEG_PHP_CONSTRUCTOR(ffmpeg_movie, __construct)
|
|
{
|
|
int persistent = 0, hashkey_length = 0;
|
|
char *filename = NULL, *fullpath = NULL, *hashkey = NULL;
|