on-internet
← Community

"Assertion 'iFuncWrapper' failed" when using valgrind

Stack Overflow ·

I have the following C program test.c #include <stdlib.h> #include <stdio.h> #include <unistd.h> #include "libavformat/avformat.h" #include "libavutil/imgutils.h" int convertVideo(const char *in_filename, const char *out_filename) { AVFormatContext *input_format_context = avformat_alloc_context(); AVPacket pkt; int ret, i; int frame_index = 0; av_register_all(); // Input if ((ret = avformat_open_input(&input_format_context, in_filename, NULL, NULL)) < 0) { printf("Could not open input file."); return 1; } else { printf("Format %s, duration %lld us\n", input_format_context->iformat->long_name,

Comments

Sign in or sign up to comment and upvote.

No comments yet.