av: Fix redefinition of typedef 'GstFFMpegPipe'
authorThijs Vermeir <thijsvermeir@gmail.com>
Fri, 21 Dec 2012 22:16:44 +0000 (23:16 +0100)
committerThijs Vermeir <thijsvermeir@gmail.com>
Fri, 21 Dec 2012 22:16:44 +0000 (23:16 +0100)
Move declaration of pipe function to correct headers file

ext/libav/gstav.h
ext/libav/gstavpipe.h

index b18c15c..613914d 100644 (file)
@@ -59,9 +59,6 @@ int gst_ffmpeg_av_find_stream_info(AVFormatContext *ic);
 
 int gst_ffmpegdata_open (GstPad * pad, int flags, AVIOContext ** context);
 int gst_ffmpegdata_close (AVIOContext * h);
-typedef struct _GstFFMpegPipe GstFFMpegPipe;
-int gst_ffmpeg_pipe_open (GstFFMpegPipe *ffpipe, int flags, AVIOContext ** context);
-int gst_ffmpeg_pipe_close (AVIOContext * h);
 
 G_END_DECLS
 
index 48f6575..d193db3 100644 (file)
@@ -67,6 +67,9 @@ struct _GstFFMpegPipe
   guint needed;
 };
 
+int gst_ffmpeg_pipe_open (GstFFMpegPipe *ffpipe, int flags, AVIOContext ** context);
+int gst_ffmpeg_pipe_close (AVIOContext * h);
+
 G_END_DECLS
 
 #endif /* __GST_FFMPEGPIPE_H__ */