diff options
author | Uoti Urpala <uau@mplayer2.org> | 2012-04-18 01:27:55 +0300 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2012-04-18 01:27:55 +0300 |
commit | b9fefc87c01bbf464fb74981313efa77e03735f6 (patch) | |
tree | 1a6045f81b1155dd2870bd07e9bb48cf27e0d0e5 /av_log.c | |
parent | 81eb9117633e77514361f219ee4a72a88701d313 (diff) | |
download | mpv-b9fefc87c01bbf464fb74981313efa77e03735f6.tar.bz2 mpv-b9fefc87c01bbf464fb74981313efa77e03735f6.tar.xz |
stream_ffmpeg: fix broken line from 30afc64532ff61
Commit 30afc64532ff61 ("stream_ffmpeg: switch to libavformat avio
API") somehow contained a nonsense line which broke the control()
function. Fix. Also add avformat_network_init() to central libav
initialization code to avoid warnings.
Diffstat (limited to 'av_log.c')
-rw-r--r-- | av_log.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -112,6 +112,7 @@ void init_libav(void) av_log_set_callback(mp_msg_av_log_callback); avcodec_register_all(); av_register_all(); + avformat_network_init(); } #define V(x) (x)>>16, (x)>>8 & 255, (x) & 255 |