comparison av_helpers.c @ 34376:fd7abb6f787a

av_helpers: remove obsolete avcodec_init.
author cigaes
date Sat, 24 Dec 2011 10:55:47 +0000
parents 5f1faa91717e
children d443d66a746c
comparison
equal deleted inserted replaced
34375:5b44af093b2a 34376:fd7abb6f787a
77 } 77 }
78 78
79 void init_avcodec(void) 79 void init_avcodec(void)
80 { 80 {
81 if (!avcodec_initialized) { 81 if (!avcodec_initialized) {
82 avcodec_init();
83 avcodec_register_all(); 82 avcodec_register_all();
84 avcodec_initialized = 1; 83 avcodec_initialized = 1;
85 av_log_set_callback(mp_msp_av_log_callback); 84 av_log_set_callback(mp_msp_av_log_callback);
86 } 85 }
87 } 86 }