Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void avcodec_register(AVCodec *codec)
- {
- AVCodec **p;
- avcodec_init();
- p = &first_avcodec;
- while (*p != NULL) {
- av_log(*p,1,"Name : %s CodecID 0x%x",(*p)->name,(*p)->id);
- p = &(*p)->next;
- }
- *p = codec;
- codec->next = NULL;
- if (codec->init_static_data)
- codec->init_static_data(codec);
- }
Advertisement
Add Comment
Please, Sign In to add comment