av: Fix redefinition of typedef 'GstFFMpegPipe'

Move declaration of pipe function to correct headers file
This commit is contained in:
Thijs Vermeir 2012-12-21 23:16:44 +01:00
parent faa23b57b8
commit bdd7406bc4
2 changed files with 3 additions and 3 deletions

View 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

View 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__ */