diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-01-09 09:49:24 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-01-09 09:49:24 +0000 |
| commit | 94b48aad7958be46e8294ed736baa53c86ce6b26 (patch) | |
| tree | 13fdb16a9c17633f44104c292b85caba06f9e71a /src/lib/ffmpeg_compatibility.h | |
| parent | 8a6d700346a6f5ca320883ea1e4d628b80f3b8fd (diff) | |
Try to allow builds with 0.10.4-era ffmpeg.
Diffstat (limited to 'src/lib/ffmpeg_compatibility.h')
| -rw-r--r-- | src/lib/ffmpeg_compatibility.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/ffmpeg_compatibility.h b/src/lib/ffmpeg_compatibility.h index 80cc79ffb..772d22c33 100644 --- a/src/lib/ffmpeg_compatibility.h +++ b/src/lib/ffmpeg_compatibility.h @@ -22,3 +22,10 @@ struct AVFilterInOut; extern AVFilter* get_sink (); extern AVFilterInOut* avfilter_inout_alloc (); +#ifndef HAVE_AV_PIXEL_FORMAT +#define AVPixelFormat PixelFormat +#endif + +#ifndef HAVE_AV_FRAME_GET_BEST_EFFORT_TIMESTAMP +extern int64_t av_frame_get_best_effort_timestamp (AVFrame const *); +#endif |
