I have error C4576 in Visual Studio 2015 when I tried to compile the file: transcoding.c.
The source code for this file is here: transcoding.c
error C4576: the type in parentheses, followed by the list of initializers, is the syntax for converting a non-standard explicit type
The error on line 127 in this instruction is:
enc_ctx->time_base = (AVRational) { 1, enc_ctx->sample_rate };
I used ffmpeg source in my project
https://www.ffmpeg.org/download.html
I searched for a solution, but I can not fix the error
If someone found something like this, provide an idea
source
share