Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <libavformat/avformat.h>
- int main() {
- avcodec_init();
- avcodec_register_all();
- AVFormatContext *oc = avformat_alloc_context();
- oc->oformat = av_guess_format("dvd", NULL, NULL);
- av_set_parameters(oc, NULL); // <---- Segfault here
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement