Annotation of /trunk/gpac/patches/gpac-0.4.2-ffmpeg-snapshots-compat.patch
Parent Directory | Revision Log
Revision 144 -
(hide annotations)
(download)
Tue May 8 20:06:05 2007 UTC (17 years, 4 months ago) by niro
File size: 492 byte(s)
Tue May 8 20:06:05 2007 UTC (17 years, 4 months ago) by niro
File size: 492 byte(s)
-import
1 | niro | 144 | --- 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]; |