Ticket #675: patch
| File patch, 977 bytes (added by , 20 years ago) |
|---|
-
libavformat/avformat.h
402 402 void av_pkt_dump(FILE *f, AVPacket *pkt, int dump_payload); 403 403 404 404 void av_register_all(void); 405 void av_register_all_protocols(void); 405 406 406 407 /* media file input */ 407 408 AVInputFormat *av_find_input_format(const char *short_name); -
libavformat/allformats.c
168 168 REGISTER_DEMUXER (WV, wv); 169 169 REGISTER_MUXDEMUX(YUV4MPEGPIPE, yuv4mpegpipe); 170 170 171 av_register_all_protocols(); 172 } 173 174 void av_register_all_protocols(void) 175 { 176 static int inited = 0; 177 178 if (inited != 0) 179 return; 180 inited = 1; 181 171 182 #ifdef CONFIG_PROTOCOLS 172 183 /* file protocols */ 173 184 register_protocol(&file_protocol);
