diff options
author | Uoti Urpala <uau@mplayer2.org> | 2011-07-18 00:28:22 +0300 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-07-18 00:57:05 +0300 |
commit | a4f41308190b79d79a5ac7a50791332e5c1d5600 (patch) | |
tree | 5207b45480ff2317544e17118a58e321160f856c /libmpcodecs/vd_ffmpeg.h | |
parent | 4e2b15fc5e5f457f62605262a46962b5fd63ff99 (diff) | |
download | mpv-a4f41308190b79d79a5ac7a50791332e5c1d5600.tar.bz2 mpv-a4f41308190b79d79a5ac7a50791332e5c1d5600.tar.xz |
cleanup: do libav* initialization on startup
Do the global initialization of libavcodec and libavformat
(avcodec_register_all(), av_register_all()) immediately on program
startup and remove the initialization calls from various individual
modules that use libavcodec/libavformat functionality.
Diffstat (limited to 'libmpcodecs/vd_ffmpeg.h')
-rw-r--r-- | libmpcodecs/vd_ffmpeg.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/libmpcodecs/vd_ffmpeg.h b/libmpcodecs/vd_ffmpeg.h deleted file mode 100644 index 004d477330..0000000000 --- a/libmpcodecs/vd_ffmpeg.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * This file is part of MPlayer. - * - * MPlayer is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * MPlayer is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with MPlayer; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -#ifndef MPLAYER_VD_FFMPEG_H -#define MPLAYER_VD_FFMPEG_H - -void init_avcodec(void); - -#endif /* MPLAYER_VD_FFMPEG_H */ |