cleanup: Silence compilation warnings on MinGW-w64
[mplayer.git] / mp_fifo.h
blob01c1fb0c37822df4f46f42ab84ad08ac372af937
1 /*
2 * This file is part of MPlayer.
4 * MPlayer is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * MPlayer is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License along
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 #ifndef MPLAYER_MP_FIFO_H
20 #define MPLAYER_MP_FIFO_H
22 struct mp_fifo;
23 void mplayer_put_key(struct mp_fifo *fifo, int code);
24 // Can be freed with talloc_free()
25 struct input_ctx;
26 struct MPOpts;
27 struct mp_fifo *mp_fifo_create(struct input_ctx *input, struct MPOpts *opts);
30 #ifdef IS_OLD_VO
31 #define mplayer_put_key(key) mplayer_put_key(global_vo->key_fifo, key)
32 #endif
34 #endif /* MPLAYER_MP_FIFO_H */