libav: use avcodec_free_frame() with new Libav
[mplayer.git] / input / ar.h
blobdff6d12f8a8b35bc0a09b62dcc66e7f19cca833c
1 /*
2 * Apple Remote input interface
4 * Copyright (C) 2007 Zoltan Ponekker <pontscho at kac.poliod.hu>
6 * This file is part of MPlayer.
8 * MPlayer is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * MPlayer is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License along
19 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
20 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23 #ifndef MPLAYER_AR_H
24 #define MPLAYER_AR_H
26 /* MacOSX Driver */
27 int mp_input_ar_init(void);
28 int mp_input_ar_read(void *ctx, int fd);
29 int mp_input_ar_close(int fd);
31 /* Linux Driver */
32 int mp_input_appleir_init(char* dev);
33 int mp_input_appleir_read(void *ctx, int fd);
35 #endif /* MPLAYER_AR_H */