[FFmpeg-cvslog] lavdev: include libavformat/avformat.h in avdevice.h

Stefano Sabatini git at videolan.org
Fri May 27 12:20:08 CEST 2011


ffmpeg | branch: master | Stefano Sabatini <stefano.sabatini-lala at poste.it> | Fri May 27 10:52:34 2011 +0200| [e48993e3cf532a1713562a147c244b267f5ab713] | committer: Stefano Sabatini

lavdev: include libavformat/avformat.h in avdevice.h

The header is always required for files which directly deal with
devices, since libavdevice uses the AVFormat* structures defined in
avformat.h.

Avoid the need to explicitely add libavformat/avformat.h.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e48993e3cf532a1713562a147c244b267f5ab713
---

 libavdevice/avdevice.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavdevice/avdevice.h b/libavdevice/avdevice.h
index 7633af4..a31c080 100644
--- a/libavdevice/avdevice.h
+++ b/libavdevice/avdevice.h
@@ -20,6 +20,7 @@
 #define AVDEVICE_AVDEVICE_H
 
 #include "libavutil/avutil.h"
+#include "libavformat/avformat.h"
 
 #define LIBAVDEVICE_VERSION_MAJOR 53
 #define LIBAVDEVICE_VERSION_MINOR  0



More information about the ffmpeg-cvslog mailing list