Magellan Linux

Contents of /trunk/gpac/patches/gpac-0.4.2-ffmpeg-snapshots-compat.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 144 - (show annotations) (download)
Tue May 8 20:06:05 2007 UTC (17 years ago) by niro
File size: 492 byte(s)
-import

1 --- gpac/modules/ffmpeg_in/ffmpeg_decode.c.old 2006-10-09 21:33:37.000000000 +0200
2 +++ gpac/modules/ffmpeg_in/ffmpeg_decode.c 2006-10-09 21:34:20.000000000 +0200
3 @@ -25,6 +25,17 @@
4 #include "ffmpeg_in.h"
5 #include <gpac/avparse.h>
6
7 +
8 +#ifndef STRINGIFY
9 +# define STRINGIFY(x) STRINGIFY1(x)
10 +# define STRINGIFY1(x) #x
11 +#endif
12 +
13 +#ifndef FFMPEG_VERSION
14 +#define FFMPEG_VERSION STRINGIFY(LIBAVCODEC_VERSION)
15 +#endif
16 +
17 +
18 static AVCodec *ffmpeg_get_codec(u32 codec_4cc)
19 {
20 char name[5];