The most important change is that it compiles and works. Tested with PS3. XXX: probably mysql functions should be optional.
30 lines
871 B
Text
30 lines
871 B
Text
$NetBSD: patch-ac,v 1.1 2009/11/28 18:37:22 kefren Exp $
|
|
--- src/plugins/ffmpeg/ffmpeg.h.orig 2009-07-16 19:31:43.000000000 +0300
|
|
+++ src/plugins/ffmpeg/ffmpeg.h 2009-11-28 19:03:23.000000000 +0200
|
|
@@ -121,7 +121,7 @@
|
|
/* audio only */
|
|
int audio_resample;
|
|
ReSampleContext *resample; /* for audio resampling */
|
|
- AVFifoBuffer fifo; /* for compression: one audio fifo per codec */
|
|
+ AVFifoBuffer *fifo; /* for compression: one audio fifo per codec */
|
|
FILE *logfile;
|
|
} AVOutputStream;
|
|
|
|
@@ -479,7 +479,7 @@
|
|
void opt_verbose(const char *arg)
|
|
{
|
|
verbose = atoi(arg);
|
|
- av_log_level = atoi(arg);
|
|
+ av_log_set_level(atoi(arg));
|
|
}
|
|
|
|
void opt_frame_rate(const char *arg)
|
|
@@ -1313,7 +1313,7 @@
|
|
#endif
|
|
|
|
if(avctx_opts[0]->debug)
|
|
- av_log_level = AV_LOG_DEBUG;
|
|
+ av_log_set_level(AV_LOG_DEBUG);
|
|
return 0;
|
|
}
|
|
|