here\'s a question. When my code goes to ret = avcodec_send_frame(enc_ctx, tmpFrame), sometimes it returns AVERROR(EINVAL). Many people say that the re
ret = avcodec_send_frame(enc_ctx, tmpFrame)
AVERROR(EINVAL)