I have the error C4576 in Visual studio 2015 when I tried to compile the file: transcoding.c.
The source code of this file is here: transcoding.c>
Remove the parenthesis around the type in the macro definition. That should work.
enc_ctx->time_base = AVRational { 1, enc_ctx->sample_rate };